DRW interview question

Implementing several data structures in Java