actually it is not the same sequence, it depends on how you traverse the tree, in order, pre order or postorder
2009/3/31 Shivang <[email protected]> > > Hello all, > Same BST can be formed by altering the sequences of the input... > > like a BST formed by the sequence 5--7---1 is same as 5--1---7. > the question is to find all such sequences for a given BST.. > > > > -- Sinan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
