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 add or remove someone from the front or the back easily without shifting everyone.
null ← 1 ↔ 2 ↔ 3 -> null ↑front ↑rear
