Consider a binary max-heap implemented using an array. Which one of the…

PYQ GATE 2009

Consider a binary max-heap implemented using an array. Which one of the following array represents a binary max-heap?

  1. A.

    25,12,16,13,10,8,14

  2. B.

    25,14,13,16,10,8,12

  3. C.

    25,14,16,13,10,8,12

  4. D.

    25,14,12,13,10,8,16

Attempted by 735 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…