How to convert a binary tree to binary search tree in-place, i.e., we cannot use any extra space.
heap sort the tree.. nlogn complexity..