Consider a binary max-heap implemented using an array. What is the content of…

GATE · 2009 · CS

Consider a binary max-heap implemented using an array.

What is the content of the array after two delete operations on the correct answer to the previous question?

  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

Attempted by 238 students.

Show answer

Correct answer: D

The worked solution is available to enrolled students.

Video solution available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…