GATE CS 2009 · Arrays & Matrix Representation

MCQ · 2 marks · Problem PROG-DSTR-0175

Consider a binary max-heap implemented using an array. What is the content of the array after two delete operations on {25,14,16,13,10,8,12}
  1. A
    {14,13,12,10,8}
  2. B
    {14,12,13,8,10}
  3. C
    {14,13,8,12,10}
  4. D
    {14,13,12,8,10}

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

Show the worked solutionOfficial GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/43466/gate2009-60

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