Term
Circular queue
A queue on an array that wraps around to the start when it reaches the end. The index goes back to 0 with mod, so cells freed by dequeue are used again.
A queue on an array that wraps around to the start when it reaches the end. The index goes back to 0 with mod, so cells freed by dequeue are used again.