containers.Queue
containers.Queue: first-in first-out (FIFO) queue.
Q = containers.Queue ()
Use ENQUEUE, DEQUEUE, PEEK, ISEMPTY and LENGTH. A Queue is a handle: copies of the variable refer to the same object.
containers.Queuecontainers.Queue: first-in first-out (FIFO) queue.
Q = containers.Queue ()
Use ENQUEUE, DEQUEUE, PEEK, ISEMPTY and LENGTH. A Queue is a handle: copies of the variable refer to the same object.