Exploring Python Data Structures — A comparative analysis of Queues
Published in
8 min readFeb 2, 2021
Exploring Python data structures series (if you are interested in other data structures you can check them out — linked lists (part 1 & part 2) and stacks) continues with yet another abstract data type. Yes, we are talking about queues.
Python queues or any programming language’s queue is no different from a real life queue at the store. Imagine you are waiting for your favorite coffee at the local coffee shop. Everyone is in line and waiting for the barista while he is preparing your cup of joy. How is the queue…