Efficient implementation of Queue in python
What is a queue?
Queue is a data structure that works on the principle of FIFO, First In First Out.
So elements/tasks/items that enter the queue first, will be executed first.
So, the entering priority matters a lot!
First come, first serve basis.
...
akshayrr.hashnode.dev1 min read