Circular queues Flashcards
1
Q
Circular queue definition
A
The front and rear pointers can move over the two ends of the queue, making for a more memory efficient structure.
2
Q
Difference between a linear and circular queue
A
Linear queues cannot jump to the left hand side as there would be no available spaces behind the front pointer, however, circular queue rear pointers can jump over the ends of the queues and make use of available spaces before the front pointer.