GATE CS 2015 · Set-1 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0141

Which of the following is/are correct inorder traversal sequence(s) of binary search tree(s)?I. 3, 5, 7, 8, 15, 19, 25 II. 5, 8, 9, 12, 10, 15, 25 III. 2, 7, 10, 8, 14, 16, 20 IV. 4, 6, 7, 9 18, 20, 25
  1. A
    I and IV only
  2. B
    II and III only
  3. C
    II and IV only
  4. D
    II only

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/8129/gate2015-1-7

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