Queues

Queue is an interface, and its concrete implementations include LinkedList and PriorityQueue. It operates by the FIFO (First in first out) - We insert items at the end of the queue and remove items from the start of the queue.

.add()

.element()

.remove()

results matching ""

    No results matching ""