Given a linear queu |||||||| |---|---|---|---|---|---|---| | | | Front | | Rear | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | | | | A | B | C | | | After the following operations, what will be the positions of front and rear? Insert(Q,D) Insert(Q,E) Remove() Insert(Q,F)
Reveal answer
Fill a bubble to check yourself