Enhancing the binary search tree problems