Vidyalelo
Data Structure · Q3

Heaps

Programming · Data Structure · question 3

Q3

In a max-heap, which node property is true?

A.
Every parent node is greater than or equal to its children.
Answer
B.
Every parent node is less than or equal to its children.
C.
All nodes have the same value.
D.
The root node is always the smallest element.

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board