GATE Assistant

Past questions › Data Science and Artificial Intelligence › GATE 2024

GATE 2024 · DA · MSQ · 1 mark · Programming, Data Structures and Algorithms › Trees & Hash Tables

GATE 2024 Data Science and Artificial Intelligence question: Consider the following tree traversals on a full binary tree: (i) Preorder (ii) Inorder…

Consider the following tree traversals on a full binary tree:

(i) Preorder

(ii) Inorder

(iii) Postorder

Which of the following traversal options is/are sufficient to uniquely reconstruct the full binary tree?

  1. (A)

    (i) and (ii)

  2. (B)

    (ii) and (iii)

  3. (C)

    (i) and (iii)

  4. (D)

    (ii) only

Show answer

This question is in an all-India live mock that is open now. Its answer appears here when the mock closes.

Practise this question with exam-style marking