Which one of the following array represents a binary max-heap ?

PYQ CoCubes 2024

Which one of the following array represents a binary max-heap ?

  1. A.

    [26, 13, 17, 14, 11, 9, 15]

  2. B.

    [26, 15, 14, 17, 11, 9, 13]

  3. C.

    [26, 15, 17, 14, 11, 9, 13]

  4. D.

    [26, 15, 13, 14, 11, 9, 17]

Attempted by 595 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…