0

Name the system /order followed by linked-list.

linked-list follows LIFO that is, Last In First Out.

7th Feb 2017, 6:21 AM
SURAJ KUMAR RAM
SURAJ KUMAR RAM - avatar
3 Answers
+ 8
linked list doesn't not have any particular order, any node can be added or removed from anywhere. But stack follows LIFO order, i.e last added element is the first that is removed, so when you implement stack using linked list you will have to follow Last In, First Out order.
7th Feb 2017, 7:17 AM
Saumya
Saumya - avatar
+ 1
Last In First Out
7th Feb 2017, 6:27 AM
Gulshan Yadav
Gulshan Yadav - avatar
0
You can think LIFO as if you're stacking plates. The Last plate added to the top of the stack is the First plate to be taken from the stack.
7th Feb 2017, 6:33 AM
ChaoticDawg
ChaoticDawg - avatar