Given a complete binary search tree in form of array. Write a sort function
to sort the given array in O(n)time complexity and constant memory.
say the tree is
________100
_____50_______150
___25___75__125___200
then array is {100 50 150 25 75 125 200}
you need to sort the array.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.