GATE CS 2007 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0198

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:
  1. A
    d e b f g c a
  2. B
    e d b g f c a
  3. C
    e d b f g c a
  4. D
    d e f g b c a

Solve it on GATE DA practice →More Basic Data Structures problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1237/gate2007-39

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com