Vidyalelo
Data Structure · Q34

Heaps

Programming · Data Structure · question 34

Q34

What is the typical use case for a min-heap in algorithms?

A.
To find the minimum element efficiently.
Answer
B.
To find the maximum element efficiently.
C.
To sort elements in descending order.
D.
To balance binary search trees.

Answer: Option A

Solution

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