The GATE Grind

GATE 2009 CS – Question 60

Programming and Data Structures · Binary Heaps · 2 marks · Multiple choice

Consider a binary max-heap implemented as an array. Starting with the correct heap from Q59, what array remains after two delete-max operations?

  1. 14, 13, 12, 10, 8
  2. 14, 12, 13, 8, 10
  3. 14, 13, 8, 12, 10
  4. 14, 13, 12, 8, 10

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (D) 14, 13, 12, 8, 10

Explanation

We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort

More Binary Heaps questions

All Binary Heaps questions →