Circular Queue
Circular Queue
Circular Queue
Rear pointer reaches the MaxSize of a queueafter a certain number of dequeue() operations, it will
create an empty space at the start of a queue.
Newly created empty space can never be re-utilized as the rear pointer reaches the end of a queue.
To overcome this limitation concept of the circular queue was introduced