Last Updated :
20 Dec, 2018
Consider the two binary trees T1:
T2:
Which traversal of T1 and T2 will produce the same sequence of nodes name?
(A) Postorder and preorder
(B) Inorder and preorder
(C) Postorder and inorder
(D) Preorder and postorder
Answer: (C)
Explanation: Postorder of T1 = GJIHEFDBCA
Inorder of T2 = GJIHEFDBCA
So, option (C) is correct.
Quiz of this Question
Share your thoughts in the comments
Please Login to comment...