* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
7 lines
428 B
Markdown
7 lines
428 B
Markdown
# Queue
|
|
|
|
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.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Java Queue](https://jenkov.com/tutorials/java-collections/queue.html) |