adplus-dvertising
frame-decoration

Question

In which heap the root node must be greatest among the keys present at all of its children?

a.

min-heap

b.

max-heap

c.

both a and b

d.

None of the above

Answer: (b).max-heap

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In which heap the root node must be greatest among the keys present at all of its children?