What is the main principle of a stack data structure?
FIFO (First In, First Out)
Random Access
LIFO (Last In, First Out)
Priority-based
This question is part of this quiz :