Mental Model
A dequeue lets you add or remove items from both ends quickly using a linked list.
Analogy: Imagine a line of people where you can join or leave from the front or the back easily without shifting anyone.
front -> [1] -> [2] -> [3] -> back ↑head ↑tail