Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2011 | Question 26
  • Last Updated : 14 May, 2018

The in-order traversal of a tree resulted in FBGADCE. Then the pre-order traversal of that tree would result in
(A) FGBDECA
(B) ABFGCDE
(C) BFGCDEA
(D) AFGBDEC


Answer: (B)

Explanation: The Inorder traversal of the tree can be seen as:

So, the preorder traversal of the following tree is ABFGCDE.

Option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :