Define Circular Queue. Describe implementation of Circular Queue ? 


==> Circular queue--

  •  Circular queue is a linear data structure. It follows FIFO principle
  •  In circular queue the last node is connected back to the first node to make a circle
  •  In circular queue the last node is connected back to the first node to make a circle
  • Both the front and the rear pointers points to the beginning of the array.
  • It is also called as “Ring buffer”.


Share to whatsapp

More Questions from Data Structures and Algorithms Module 2

Explain simple queue ? Brief disadvantages of simple queue.


View

Explain Algorithm for Enqueue operation  and Algorithm for Dequeue operation using array ? 


View

Explain stacks using dynamic arrays ? 


View

Explain Factorial of a number ? 


View

Explain Fibonacci Sequence ? 


View

 Explain Applications of Stack ? 


View

Define Queue. Explain Applications of Queue ? 


View