ISRO 2009 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0172

The following numbers are inserted into an empty binary search tree in the given order: 10, 1, 3, 5, 15, 12, 16. What is the height of the binary search tree (the height is the maximum distance of a leaf node from the root)?
  1. A
    2
  2. B
    3
  3. C
    4
  4. D
    6

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

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1001/gate2004-4-isro2009-26

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