Link to home
Start Free TrialLog in
Avatar of swtirs
swtirs

asked on

Help required in a traversal program

I need to write a program in ‘C’ language that could accept inorderr and pre-order traversal outputs of a Binary Tree as input and prints the corresponding Binary tree.

ASKER CERTIFIED SOLUTION
Avatar of sunnycoder
sunnycoder
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi swtirs,

1. Could you clarify 'inorder' and 'pre-order'. I think I know what you mean but just to clarify.

2. What form do you want the output in?

Paul
Hi Paul,

1.
http://en.wikipedia.org/wiki/Tree_search_algorithm

2.
Beware, this is common problem in data structures/ advanced data structures course

Cheers!
sunnycoder