Queues
Queues
Queues
At this stage queue whose capacity is 3 has only one element in it having room for 2 more elements.
But, insertion of new element is not possible since rear is already pointing to the last position in the
array.
3. Explain circular queue concept.
Circular
ar queues are particular implementations of queues. It is a data structure that uses a single, fixedfixed
size array as if it were connected end
end-to-end. This structure lends itself easily to store data elements.
elements