Last Updated : 25 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 respectively
(B) Inorder and preorder respectively
(C) Postorder and inorder respectively
(D) Preorder and postorder respectively


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