DEV Community

hafizpustice05
hafizpustice05

Posted on

Queue Data Structure

Queue Data Structure
A Queue is a linear structure that follows a particular order in which the operations are performed. The order is First In First Out (FIFO)

Imagine you are at the front of a bank’s cash counter. There are five people before you. The first five-person will be able to complete their work early because they’ve come before you. This is a proper example of a queue.

Queue Data Structure
A Queue is a linear structure that follows a particular order in which the operations are performed. The order is First In First Out (FIFO)

Imagine you are at the front of a bank’s cash counter. There are five people before you. The first five-person will be able to complete their work early because they’ve come before you. This is a proper example of a queue.

Queue Data Structure

Top comments (0)