Mental Model
A dequeue lets you add or remove items from both ends quickly using a linked list.
Analogy: Think of a train where you can add or remove cars from the front or back without rearranging the whole train.
null ← 10 ↔ 20 ↔ 30 -> null ↑front ↑rear
