Pergunta de entrevista da empresa Acuity Analytics

Explain the difference between LIFO and FIFO?