OYO interview question

Puzzles related to data structures