Mental Model
A deque lets you add or remove items from both ends easily, like a line where people can join or leave from front or back.
Analogy: Imagine a hallway where people can enter or exit from either door at the front or the back, not just one side.
front -> [item1] -> [item2] -> [item3] -> back ā front pointer ā back pointer
