Here it is a nice solution: http://cslibrary.stanford.edu/109/TreeListRecursion.html
On Sun, Mar 28, 2010 at 11:09 AM, Piyush Verma <[email protected]> wrote: > How can we convert a BST into a sorted doubly linked list? > i have the solution that i traverse BST in inorder traversal and > storing elements in doubly linked list. > anyone has any best solution. > > -- > Piyush Kumar Verma > NIT Allahabad > > -- > 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]<algogeeks%[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.
