A max-heap is a heap where the value of each parent is greater than or equal to the values of its children. Which of the following is a max-heap?

(A) A
(B) B
(C) C
(D) D
Answer: (B)
Explanation:
See https://www.geeksforgeeks.org/data-structures-and-algorithms-set-26/
Recommended Posts:
- GATE | GATE CS 2011 | Question 4
- GATE | GATE CS 2011 | Question 32
- GATE | GATE CS 2011 | Question 59
- GATE | GATE CS 2011 | Question 34
- GATE | GATE CS 2011 | Question 65
- GATE | GATE CS 2011 | Question 36
- GATE | GATE CS 2011 | Question 37
- GATE | GATE CS 2011 | Question 38
- GATE | GATE CS 2011 | Question 39
- GATE | GATE CS 2011 | Question 40
- GATE | GATE CS 2011 | Question 65
- GATE | GATE CS 2011 | Question 42
- GATE | GATE CS 2011 | Question 43
- GATE | GATE CS 2011 | Question 31
- GATE | GATE CS 2011 | Question 33
- GATE | GATE CS 2011 | Question 22
- GATE | GATE CS 2011 | Question 24
- GATE | GATE CS 2011 | Question 25
- GATE | GATE CS 2011 | Question 65
- GATE | GATE CS 2011 | Question 27

