Consider circular Queue Q with 6 spaces where front=2, rear=4.
Q=_ LMN_ _.
Add O,
Add P,
Delete two letters,
Add Q,
Delete one letter.
Describe queue after above each operation.
Q=_ LMN_ _.
Add O,
Add P,
Delete two letters,
Add Q,
Delete one letter.
Describe queue after above each operation.
No comments:
Post a Comment