Hello,
i really need code for creating a binary search tree from pre-order and post order traversals.......and print its output in post order and level order traversals....pls help...

Recommended Answers

All 2 Replies

Hello,
i really need code for creating a binary search tree from pre-order and post order traversals.......and print its output in post order and level order traversals....pls help...

Your best bet is to do your own homework, read your own textbook, etc. But if you insist on doubling your effort, start here.

Member Avatar for iamthwee

Assuming you have the requisite infrastructure in place for insertion etc have a look here for ideas.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.