Describe a queue data structure.

A queue is a FIFO (First In First Out) data structure.
Analogous to a production line, the first item in the list will be the first to be removed, the second the second and so on.

MT

Related Computing A Level answers

All answers ▸

What is the difference between an array and a record?


Simplify the boolean expression ¬(A.B)+A.


Given a graph with n nodes and m edges, every edge has a passing cost that can be negative, find the minimum distance between node 1 and every other node


In a computer program, a parameter may be passed to a procedure by value. Explain how this method works.