D. E. Shaw India Interview Question

One Coding question related to binary search tree