Queue/Definition: Difference between revisions

Content added Content deleted
(added a Common Lisp solution)
(replace Template:BoxImage with wiki markup)
Line 1: Line 1:
{{task|Data Structures}}{{Data structure}}
{{task|Data Structures}}{{Data structure}}
{{BoxImage|Fifo.gif|Illustration of FIFO behavior}}
[[File:Fifo.gif|frame|right|Illustration of FIFO behavior]]
Implement a FIFO queue. Elements are added at one side and popped from the other in the order of insertion.
Implement a FIFO queue. Elements are added at one side and popped from the other in the order of insertion.