Skip to content
Related Articles
Open in App
Not now

Related Articles

Data Structures | Tree Traversals | Question 9

Improve Article
Save Article
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

Which of the following cannot generate the full binary tree?
(A) Inorder and Preorder
(B) Inorder and Postorder
(C) Preorder and Postorder
(D) None of the above


Answer: (D)

Explanation: To generate a binary tree, two traversals are necessary and one of them must be inorder. But, a full binary tree can be generated from preorder and postorder traversals. Read the algorithm here.
Read Can tree be constructed from given traversals?

Quiz of this Question

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!