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 · Glossary
Computer Science · Glossary
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 .