Wheebox interview question

Oops concept, Hash map , Tree