There is no need to use any other data structure or sort the array one can directly construct the BST from a given array by taking one element at a time from the beginning and inserting into a BST.
-- Akshat Sapra Under Graduation(B.Tech) IIIT-Allahabad(Amethi Campus) *--------------------------------------* [email protected] [email protected] rit20009008@ <[email protected]>iiita.ac.in -- 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.
