GATE CS 2026 · Set-1 · Arrays & Matrix Representation

MCQ · 2 marks · Problem PROG-DSTR-0081

Let \(P\) be the set of all integers from \(1\) to \(15\). Consider any order of insertion of the elements of \(P\) 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

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

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/523050/gate-cse-2026-set-1-question-30

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