GATE CS 2026, set 1 · Question 40 · Programming and Data Structures · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
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?
- (A) 4
- (B) 2
- (C) 10
- (D) 5
Answer
Answer (D)
Answer from the official GATE CS 2026 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes