Java City interview question

Implement a Binary tree. Make a heap.