Amazon Interview Question

Convert binary tree to binary search tree