video circular queue

What is Circular queue?

A 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. Circular linked list fallow the First In First Out principle. Elements are added at the rear end and the elements are deleted at the front end of the queue (reference: https://www.quora.com/What-is-a-circular-queue).

rear = (rear+1)%max

Comments

Post a Comment

Popular posts from this blog

Lab Network 2024

Step to publish your static html web page to GitHub

Tutorial OOP(reversion java)