Vidyalelo
Data Structure · Q11

Heaps

Programming · Data Structure · question 11

Q11

What is the main advantage of using a binary heap for implementing a priority queue?

A.
It provides efficient insertions and deletions.
Answer
B.
It maintains elements in sorted order.
C.
It allows quick search operations.
D.
It uses less memory.

Answer: Option A

Solution

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