Assume a circular queue of size 5 and then enqueue 4, 9, 5 and then dequeue two elements and enqueue 11.
Assume a circular queue of size 5 and then enqueue 4, 9, 5 and then dequeue two elements and enqueue 11.
Answer
The verified answer for this question is being prepared. Meanwhile, the chapter notes cover this topic, and you can contribute your own solution.