Question: Which data structure can be used to implement a priority queue?
Options:
Correct Answer: Heap
Solution:
A heap is commonly used to implement a priority queue because it allows efficient retrieval of the highest (or lowest) priority element.