In a shop customers are provided the service as a first come first serve policy .But some special customers can be served at any time based on their importance.Which data structure most fits this scenario?
A Stack
B Queue
C Priority Queue
D Dequeue
Solution
Correct Answer: Option C