Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Data Structures | Tree Traversals | Question 9

  • Last Updated : 28 Jun, 2021

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
Recommended Articles
Page :

Start Your Coding Journey Now!