think-cell Interview Question

Data structures question, coding challenge