Answered third data structure question