GATE CS 1996 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0261

A binary search tree is generated by inserting in order the following integers: 50,15,62,5,20,58,91,3,8,37,60,24The number of nodes in the left subtree and right subtree of the root respectively is
  1. A
    (4,7)
  2. B
    (7,4)
  3. C
    (8,3)
  4. D
    (3,8)

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/2743/gate1996-2-14

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