Minimum number of queues to implementing priority queue

What is minimum number of queues required to implementing the priority queue?

E

Expert

Verified

Priority Queue:

It is a queue where:

a.    Requests are inserted within the order of arrival

b.    The request along with highest priority is processed initially (i.e., deleted from queue).

Minimum number of queues required implementing the priority queue is Two. One queue is utilized for actual storing of data and the other for storing priorities.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.