Queue
A FIFO data structure: the first element in is the first out.
Operations
Choose an operation and run it.
FRONT→
←REAR
State
Current queue state.
Step—
Operation—
Size0
Front—
Rear—
Dequeued—
EmptyNo
A FIFO data structure: the first element in is the first out.
Choose an operation and run it.
Current queue state.