Gradient LabSign up free

Home / GATE DA / 2026 / Q.25

GATE DA 2026, Q.25: Rebuild a binary tree from pre-order and in-order

Data structures and algorithmsTree reconstruction from traversals1 markMSQ (more than one correct)

The question

A binary tree on {E, F, G, P, Q, R, S} has pre-order P Q S E R F G and in-order S Q E P F R G. Which are true? (A) P is the root. (B) Post-order is S E Q F G R P. (C) Q has only one child. (D) The left subtree of R contains G.

Checking your access…

Source: official GATE DA 2026 question paper and answer key (IIT Guwahati). The question is lightly reworded; every number and option is kept.