GATE IT 2006 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0205

Suppose that we have numbers between 1 and 100 in a binary search tree and want to search for the number 55. Which of the following sequences CANNOT be the sequence of nodes examined?
  1. A
    {10,75,64,43,60,57,55}
  2. B
    {90,12,68,34,62,45,55}
  3. C
    {9,85,47,68,43,57,55}
  4. D
    {79,14,72,56,16,53,55}

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

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3588/gate2006-it-45

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