Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Queues

A Queue is a linear data structure (i.e. its elements form a sequence) and can be modified by the addition of elements at one end of the sequence and removal from the other end.

A queue is a FIFO (first in, first out) data structure.

Queue

Characteristics

Time complexity

Insertion Removal Retrieval Notes
Θ(1) Θ(1) Θ(n)

Space complexity

Notes
Θ(n) The elements in the queue