IBM interview question

Array, Tree, HashMap