queues needed to implement priority queue

Minimum number of queues needed to implement the priority queue?

Two. One queue is used for actual storing of data and another for storing priorities.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.