Acuity Analytics Interview Question

Explain the difference between LIFO and FIFO?