Stack
A stack is last-in, first-out. Push and pop touch only the top.
Costs
| Category | Data Structure |
| Difficulty | Easy |
| Push | O(1) |
| Pop | O(1) |
| Search | O(n) |
Questions
What is Stack?
A stack is last-in, first-out. Push and pop touch only the top.
Where do I practice it?
DSA Master keeps challenges and progress on the phone. This page is the idea and the costs.