+ 3

Circular queue

What is circular queue?

20th May 2018, 1:39 PM
Navneeth Prasanth
Navneeth Prasanth - avatar
3 Antworten
+ 13
Circular Queue is a linear data structure in which the operations are performed based on FIFO (First In First Out) principle and the last position is connected back to the first position to make a circle. It is also called 'RingBuffer'. ... enQueue(value) This function is used to insert an element into the circular queue. https://www.studytonight.com/data-structures/circular-queue
20th May 2018, 1:44 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 4
http://btechsmartclass.com/DS/U2_T10.html
20th May 2018, 1:44 PM
Max
Max - avatar
+ 3
In circular queue the elements are arranged in circular manner so no space is wasted but in linear queue when we remove the elements the space at start of the queue is wasted. This case arises when array is used for queues.
20th May 2018, 1:48 PM
G.S.N.V. Suraj
G.S.N.V. Suraj - avatar