Gate CS-2007 Question Paper With Solutions

Q. 4 The inorder and preorder traversal of a binary tree are d b e a f c g and a b d e c f g,

respectively. The postorder traversal of the binary tree is:

(A) d e b f g c a

(B) e d b g f c a

(C) e d b f g c a

(D) d e f g b c a

Answer: (A)

Explanation:

Gate CS-2007 Question Paper With Solutions Gate CS-2007 Question Paper With Solutions

Learn More:   Gate CS-2013 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here