GATE IT 2007 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0195

When searching for the key value 60 in a binary search tree, nodes containing the key values 10, 20, 40, 50, 70, 80, 90 are traversed, not necessarily in the order given. How many different orders are possible in which these key values can occur on the search path from the root to the node containing the value 60?
  1. A
    35
  2. B
    64
  3. C
    128
  4. D
    5040

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

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3462/gate2007-it-29

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