GATE | GATE CS 2011 | Question 23
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/
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.



