Open In App
Related Articles

GATE | GATE-CS-2007 | Question 39

Improve Article
Improve
Save Article
Save
Like Article
Like

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: See Question 5 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-10/

Quiz of this Question

Level Up Your GATE Prep!
Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Similar Reads