Files

7 lines
428 B
Markdown
Raw Permalink Normal View History

2025-03-05 14:06:58 +00:00
# Queue
2025-11-24 17:20:43 +01:00
A queue is a fundamental data structure that follows the First-In, First-Out (FIFO) principle. Think of it like a line at a store: the first person to join the line is the first person to be served. Elements are added to the rear (enqueue) and removed from the front (dequeue) of the queue.
2025-03-05 14:06:58 +00:00
Visit the following resources to learn more:
2025-11-24 17:20:43 +01:00
- [@article@Java Queue](https://jenkov.com/tutorials/java-collections/queue.html)