+ 1
Priority Queue
Implement a priority queue that allows 3 levels of priority for queued items: LOW, NORMAL and HIGH. Also write suitable adapter classes that will allow you to associate this queue with the queue monitor functionality.
1 Resposta
0
For Python you could use three lists and use append and pop(0) for a simple solution. Unsure what you require for the queue monitor functionality