Infogain Interview Question

Question based on binary search tree.