AJACKUS interview question

Regarding data structures and algorithm