Skip to content

Latest commit

 

History

History

queue

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Queue

Let T be a data type. A queue of type T, denoted by Queue<T>, is a sequence of objects of type T with the following methods:

  • enqueue(value: T): adds value to the end of queue;
  • dequeue() -> T: removes first object of queue, and returns it.