Operations
Circular Array (Ring Buffer)
Logical Deque Order (front → back)
Last Operation
Click an operation to begin.
head (front)
tail (next slot at back)
head ≡ tail (empty or full)
pushing
popping
peeking