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.