Mental Model
A deque lets you add or remove items from both the front and the back easily.
Analogy: Think of a line of people where you can join or leave from either the front or the back, like a double-sided queue at a theme park.
front -> [ ] -> [ ] -> [ ] -> back ā head pointer
