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

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions