Wipro Interview Question

Sorting of a binary search tree