@sankalp would you please elaborate morris traversal . On Sun, Jun 19, 2011 at 9:41 PM, Anand <[email protected]> wrote:
> http://anandtechblog.blogspot.com/2011/05/find-median-in-bst.html > > > On Sun, Jun 19, 2011 at 6:32 AM, Akshata Sharma <[email protected] > > wrote: > >> @sankalp: ya, that solved the problem :) >> >> >> On Sun, Jun 19, 2011 at 6:50 PM, sankalp srivastava < >> [email protected]> wrote: >> >>> If nothing is allowed , as in extra space etcetera We can use morris >>> traversal to find the inorder of the tree . >>> >>> On Jun 19, 3:25 am, kumar vr <[email protected]> wrote: >>> > Balance the tree and return the Root. >>> > >>> > On Sun, Jun 19, 2011 at 12:10 AM, hary rathor <[email protected] >>> >wrote: >>> > >>> > > then you can use iterative method instead of recursion ... >>> > >>> > > -- >>> > > 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. >>> >>> -- >>> 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. >>> >>> >> -- >> 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. >> > > -- > 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. > -- 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.
