mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-22 05:05:53 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
8 lines
690 B
Markdown
8 lines
690 B
Markdown
# Dequeue
|
|
|
|
A Dequeue (pronounced "dee-queue") is a double-ended queue, a data structure that allows you to add and remove elements from both the front (head) and the back (tail) of the queue. Unlike a regular queue (FIFO - First-In, First-Out), a dequeue provides flexibility for both FIFO and LIFO (Last-In, First-Out) operations. This makes it useful for implementing various algorithms and data management tasks where elements need to be accessed or modified from either end.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Java Deque Tutorial](https://jenkov.com/tutorials/java-collections/deque.html)
|
|
- [@article@Java Deque](https://www.programiz.com/java-programming/deque) |