Vidyalelo
Data Structure · Q36

Heaps

Programming · Data Structure · question 36

Q36

Which property is common to both max-heaps and min-heaps?

A.
They both maintain a complete binary tree.
Answer
B.
They both ensure a sorted order of elements.
C.
They both allow easy insertion and deletion.
D.
They both balance themselves automatically.

Answer: Option A

Solution

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