Consider the following queue Q.
After performing the below operation, What are the front and rear positions of the queue?
Enqueue(25)
Enqueue(19)
Dequeue()
Dequeue()
Hint:
Consider the starting index is 0, if the queue is empty its index is -1.
1
1,7
2
2,6
3
2,7
4
1,6