LIFO (last-in, first-out)
About
LIFO means last-in, first-out and is the queue operation where the last element added is the first element removed. The element removed is the youngest element in the queue whereas in a FIFO it's the oldest one.
You will find this operation implemented:
- in a stack (LIFO)
- in a double ended queue (FIFO and LIFO)