Question: Which data structure is commonly used to implement a priority queue?
Options:
Correct Answer: Heap
Solution:
A priority queue is commonly implemented using a heap, as it allows for efficient insertion and deletion of the highest (or lowest) priority element.