HomeGlossaryFIFO (first in, first out)TermFIFO (first in, first out)First In, First Out: the element added first is removed first. A queue works this way; a stack works LIFO.The lesson that explains this term5.0What is a queue?QueueLessons that use this term5.1.3Dequeue: removing from the front5.3.5Array or linked list?5.5.1What is a priority queue?5.6.1Deque: the double-ended queue5.7.1Queue: exam questions and answers6.3.6Level-order traversal: with a queue8.1.4Breadth-first search (BFS)← Whole glossary