Concept Flow - Stack Concept and LIFO Principle
Start with empty stack
Push element
→Add element on top
Push more elements?
Yes→Repeat push
No
Pop element
→Remove top element
Pop more elements?
Yes→Repeat pop
No
End
Stack works by adding elements on top and removing from top, following Last In First Out order.