Stack
1. Stack Structure
Limited access where input and output occur in only one direction, i.e., only at the top of the stack
This Stack data structure policy: LIFO (Last In First Out) or FILO (First In Last Out)
Putting data into Stack: push, taking it out: pop
2. Stack Characteristics
LIFO (Last In First Out): Last In First Out
Has one input/output direction
Data can be put in and taken out one by one
3. Real-world Stack Examples
Browser back and forward functionality implementation
Last updated