JPMorganChase Interview Question

What's the difference between LIFO and FIFO