Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

5. Queues

The queue ADT, the circular array and its full/empty problem, linked queues, deques and priority queues, round-robin scheduling. Problem solving: reversing a queue, the Josephus problem, generating binary numbers, shortest paths in a maze (BFS), a bank-teller simulation.

Slides

Present full screen Download the PDF

Click or tap the slide to move forward, its left edge to go back; the arrow keys work too.

Video tutorials

Queue using array implementation