Part 5
Queue
28lessons2 h 50 min0done
A queue is a structure where elements are added at one end and removed at the other: the first one in is the first one out (FIFO). A line at the bank, documents sent to a printer and the jobs waiting in an operating system all work this way.
The part first introduces the queue as an abstract data type. Then it codes the same operations with an array, a circular array, a linked list and a circular linked list. After that it covers priority queues, the deque and queue applications, and ends with exam questions.