Intuit interview question

about home assignment and data structures