What is the minimum number of queues needed to implement the priority queue? Two. One queue is used for the actual storing of data, and the other one is used for storing the priorities.