GATE DA 2026 · Question 25 · Programming, Data Structures and Algorithms · Multiple select (MSQ) · 1 mark · no negative marks

You are given the following Pre-order and In-order traversals of a Binary Tree T with nodes E, F, G, P, Q, R, S.
Pre-order: P Q S E R F G
In-order: S Q E P F R G
Which of the following statements is/are true about the Binary Tree T?

  1. (A) Node P is the root of T
  2. (B) The Post-order traversal of T is:
    S E Q F G R P
  3. (C) Node Q has only one child
  4. (D) The left subtree of node R contains the node G
Answer

Answer (A), (B)

Answer from the official GATE DA 2026 answer key.

The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes