Pocket Gems interview question

All about data structures and algorithms.