Pocket Gems interview question

Questions on Data structures and Algorithms