Beginner 8 planned topics Algorithms
Introduction to Queue
Learn the queue data structure: FIFO, deque, and BFS. Free queue introduction.
Learning Outcomes
- Implement enqueue and dequeue
- Explain FIFO with a real-life example
- See why BFS uses a queue
- Know deque as a double-ended variant
Overview
A queue is first-in, first-out. Enqueue and dequeue model printers, tickets, and BFS.
This page also mentions deque and circular queues as interview follow-ups.
Compare it with stack so you never mix the two in an interview.
What this course will cover
- 1. FIFO
- 2. Array queue
- 3. Linked queue
- 4. Circular queue
- 5. Deque
- 6. BFS idea
Start a complete tutorial now
Full 6-level lessons are live for C, C++, Java, Python, and JavaScript. Use them while the remaining Queue lessons are added.