[algogeeks] Re: BST in file

2011-09-25 Thread Asit Dhal
What does it mean by simple BST ?? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/Q5mtepDUIx0J. To post to this group, send email to

[algogeeks] Re: Amazon Interview Question

2011-09-24 Thread Asit Dhal
Here, can we use function for comparison ?? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/ZgGYGAZwvcoJ. To post to this group, send email to

[algogeeks] BST in file

2011-09-24 Thread Asit Dhal
I need to print a binary search tree in file. When I will retrieve the same tree from the file. I have thought about printing in xml format like this 100 / \ 50 150 / \ / \ 30 70 120 200 Level 0 100 Level 1 50 Level 2 30 /Level2 Level 2