Queues Python Review
Congrats! You have just implemented a queue data structure in Python by creating a
Queue class that:
- follows FIFO protocol with
- gives you the option of creating bounded queues with a
- prevents queue “overflow” and “underflow” by keeping track of size
At the bottom of queue.py, uncomment the commented statements and run your code to see some queue-tiful code in action!