While inserting the elements 71, 65, 84, 69, 67, 83 in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2015 Set 3 · Q13
Time
Select one answerSingle correct
Solution
Official answer: B) 67
Binary Search TreesLet us trace the insertion of elements into an initially empty Binary Search Tree (BST):
Insert 71: becomes the root at Level 0.
Insert 65: , inserted as the left child of (Level 1).
Insert 84: , inserted as the right child of (Level 1).
Insert 69: and , inserted as the right child of (Level 2).
Insert 67: , , and , inserted as the left child of (Level 3).
Insert 83: and , inserted as the left child of (Level 2).
The levels containing the nodes are:
Level 0:
Level 1:
Level 2:
Level 3:
The element at the lowest (deepest) level is 67.
Try the question first, then check your work.
Examiner trap
Insert elements one by one following standard BST properties: smaller values go to the left subtree and larger values go to the right subtree.
This Binary Search Trees previous year question is Q13 of the GATE CSE 2015 Set 3 paper. Find more GATE CSE PYQs on Binary Search Trees in Programming and Data Structures, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Binary Search Trees PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Binary Search Trees has 21 GATE CSE PYQs across 17 papers from 2011 to 2026. 8 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2015 Set 3.
How GATE tests Binary Search TreesIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.