Source: 📖 Problem Solving with Algorithms and Data Structures using Python 4.11
Date: 2021-10-29
enqueue(item)
adds a new item to the rear of the queue.dequeue()
removes the item at the front of the queue.is_empty()
is a boolean function that checks if the queue is empty.size()
returns the number of items currently in the queue.