What is the minimum number of queues needed when implementing a priority queue?

The minimum number of queues needed in this case is two. One queue is intended for sorting priorities while the other queue is used for actual storage of data.

Sujan Bk
Jan 9, 2022
More related questions

Questions Bank

View all Questions

Top