Skip to content

Glossary: Data Structures and Algorithms in Go

Queue

Also written: queues

A first-in, first-out line of items, like Priya's support tickets answered in arrival order. In Go it is a slice with `append` and `q[1:]`, or `container/list`.

Where the book teaches it

Related terms

Dequeue, enqueueFIFO, LIFOPriority queue