Consider a binary max-heap implemented using an array. Which one of the…
GATE · 2009 · CS
Consider a binary max-heap implemented using an array. Which one of the following array represents a binary max-heap?
- A.
25,12,16,13,10,8,14
- B.
25,14,13,16,10,8,12
- C.
25,14,16,13,10,8,12
- D.
25,14,12,13,10,8,16
Attempted by 591 students.
Show answer
Correct answer: C
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…