GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set1

GATE 2026 set1 · CS · MCQ · 2 marks · Programming and Data Structures › Binary Search Trees

GATE 2026 set1 Computer Science and Information Technology question: Let P be the set of all integers from 1 to 15. Consider any order of insertion of the…

Let be the set of all integers from 1 to 15. Consider any order of insertion of the elements of into a binary search tree that creates a complete binary tree.

Which one of the following elements can NEVER be the third element that is inserted?

  1. (A)

    4

  2. (B)

    2

  3. (C)

    10

  4. (D)

    5

Show answer

Official answer: D

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion