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 easily without rearranging the whole train.
front -> [node1] -> [node2] -> [node3] -> back -> null
