IBM Interview Question

Remove a node in a binary search tree and perform heap.