Which data structure is suitable for implementing a priority queue?
Q1. Which data structure is suitable for implementing a priority queue?
Answer: Heap
Explanation: A heap is a suitable data structure for implementing a priority queue, as it allows for efficient insertion and removal of elements based on priority.