GATE CS 1996 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0262

The minimum number of interchanges needed to convert the array into a max-heap is89, 19, 40, 17, 12, 10, 2, 5, 7, 11, 6, 9, 70
  1. A
    0
  2. B
    1
  3. C
    2
  4. D
    3

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/2740/gate1996-2-11

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