| |
GeekInterview.com > Placement Papers > Birlasoft
| Print | |
Question: How can we insert the following numbrs 7,5,1,8,3,2 in a binary tree so that inorder and preorder traversal is same
|
| February 02, 2006 05:46:15 |
#3 |
| krishna prasad |
Member Since: Visitor Total Comments: N/A |
RE: how can we insert the following numbrs 7,5,1,8,3,2... |
| first we place the numbers from starting. if the next no is larger than the before no,then we place the no inright side of the before no. if it is less place left side of the no. inthis way we place the no's. |
| |
Back To Question | |