Notifications
Clear all

What is LIFO?

2 Posts
3 Users
0 Likes
239 Views
0
Topic starter

What is LIFO?

2 Answers
0
Last-In-First-Out

In a LIFO data structure, the newest element added to the container will be processed first. Sometimes this will be called a stack and is usually pictured as below. The new element is always added at the end of the stack

0

LIFO stands for “Last In, First Out” and is another method used for organizing and manipulating data. It refers to a data structure where the last item that is added to the structure is the first one to be removed.

LIFO is also commonly used in computer programming and operating systems to manage stacks of data.

Share: