IBM interview question

Object Oriented Programming, Heap, Trees