Circular queues Flashcards

You may prefer our related Brainscape-certified 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly