Definition: A policy that items are processed in order of arrival. A queue implements this.
See also last-in, first-out.
Note: Same as first come, first served. A breadth-first search checks newly encountered nodes first-in, first-out. Often written as FIFO.
If you have suggestions, corrections, or comments, please get in touch with Paul Black.
Entry modified 17 December 2004.
HTML page formatted Fri Feb 23 10:06:07 2018.
Cite this as:
Paul E. Black, "first-in, first-out", in Dictionary of Algorithms and Data Structures [online], Vreda Pieterse and Paul E. Black, eds. 17 December 2004. (accessed TODAY) Available from: https://www.nist.gov/dads/HTML/firstinfrstt.html