the number elements allows for circular queue
The size of circular queue
Remove the first element from queue if one exists
an element of queue or undefined if queue is empty
Enqueue an element to queue
Check if queue is empty
Check if queue is full
Peek the first element of queue without removing it from queue
an element of queue or undefined if queue is empty
Generated using TypeDoc
Circular Queue
A circular shape of queue which follows first in first out.
Examples