QUEUE
FIRST IN · FIRST OUT
prostudypk.com
Join the Line: Queue
Counter
A
B
C
D
E
FRONT
REAR
Served:
operation
front
rear
1. FIFO
First In, First Out
First in, first out
2. Operations
enqueue(x): at the rear · dequeue(): from the front
The opposite of a stack (LIFO)
3. Misalein
A bank line, a printer queue
Keyboard buffer
COMPUTER SCIENCE · DATA STRUCTURES · PUNJAB BOARDS
‹ Labs
↺
❚❚
1×
Next ›