A double ended queue, or deque, lets us add or remove items from both ends. We keep track of two pointers: front and rear. When we add at the front, we update the front pointer to the new node. When we add at the rear, we update the rear pointer. Removing from front moves the front pointer forward, removing from rear moves the rear pointer backward. The deque looks like a chain of nodes linked by arrows ending in null. Size changes as we add or remove elements. This example showed adding 10 at rear, 20 at front, 30 at rear, then removing one from front and one from rear, leaving one element in the deque.