Concept Flow - Why Stack Exists and What Problems It Solves
Start: Need to store data temporarily
Use Stack: LIFO structure
Push: Add item on top
Pop: Remove item from top
Solve problems needing reverse order or backtracking
Examples: Function calls, Undo, Expression evaluation
Stack stores data in last-in, first-out order to help solve problems needing reverse order access or backtracking.
