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

Define stacks. Explain various operation of stacks ? 


View

Explain Multiple stacks ?


View

Define Tower of Hanoi. Explain Problem statement for Tower of Hanoi ? 


View

Explain Factorial of a number ? 


View

Explain Dequeues- Double Ended Queues ? 


View

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


View

Explain Ackermann function in details ?


View