Skip to content

Introduction

Introduction to Queues

A queue is a data structure that operates on a First In First Out (FIFO) principle.

They work just like in real life queues where:

  • new items are added to the rear of the queue (ENQUE)
  • when an items is removed the item at the front of the queue is removed first (DEQUE)

 

 

 

Linear Queue

Circular Queue

Queue Methods

Python Queue

Resources