Enqueue and dequeue on a queue in a fixed-size array, with front and rear wrapping around.
This interactive visualization needs JavaScript.