Concept Flow - Stack Concept and LIFO Principle
Start
Push element
→Add element on top
Pop element
→Remove element from top
Peek element
→View element on top
Is stack empty?
Yes→Stop
No
Repeat operations
Stack works by adding and removing elements only at the top, following Last In First Out (LIFO).
