Last In First Out (LIFO) is used for?

Last In First Out (LIFO) is used for?

Explanation

LIFO stands for Last In First Out

It is a principle used in stack data structures, where the last item added is the first one removed.

This "last-in, first-out" order is the defining characteristic of a stack