Professional Documents
Culture Documents
Micro
Micro
Start Start
4: Else 4: Else
6: End of If 6: End of If
Start 9: End of If
2:VAL = STACK[TOS]
3:TOS = TOS-1
4: Else
3: End of If
Stop
Insertion Algorithm
Start
2:FRONT REAR = 0
3: Q[REAR] = VAL
5: REAR REAR +1
6: Q[REAR] = VAL
7: Else
9: End of If
Stop