A circular buffer stores a queue in an array of capacity with a head index and a count : the queue is . Taking the front advances modulo ; adding at the back writes .
Computer Science · Glosarium
Computer Science · Glosarium
A circular buffer stores a queue in an array of capacity with a head index and a count : the queue is . Taking the front advances modulo ; adding at the back writes .