+ 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.

5th Apr 2019, 12:34 PM
Sachin Naik
Sachin Naik - avatar
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
8th Apr 2019, 12:20 PM
Mike Buttery
Mike Buttery - avatar