Articles tagged with Stack
- Minimum Additions to Make Valid String - Multiple solutions explained, published 2023-04-18
- Simplify Path - Short stack solution, published 2023-04-12
- Removing Stars From a String - Simple stack solution, published 2023-04-11
- Design Browser History - Simple array solution [Easy + Short], published 2023-03-18
- Sum of Subarray Minimums - Monotonic Stack + DP, published 2023-01-06
- Longest Absolute File Path - Monotonic stack solution explained, published 2022-12-29
- Daily Temperatures - Monotonic stack, published 2022-12-20
- Valid Parentheses - C++ stack clean 10 line solution, published 2022-10-25
- Decode String - C++ Stack 100%, published 2022-10-25
- Min Stack - Beauty of OOP, published 2022-10-18
- Flatten Nested List Iterator - Simple Recursion, published 2022-10-13
- Next Greater Element II - NGE using stack on repeated array, published 2022-06-04
- Next Greater Element I - Stack + HashMap O(N1+N2) solution, published 2022-06-02
- 132 Pattern - O(N^3), O(N^2), O(N log N) and O(N) solutions, published 2022-05-10
- Remove All Adjacent Duplicates in String II - Solution using stack, published 2022-05-06
- Binary Search Tree Iterator - Two solutions: Easy and Medium, published 2022-04-20
- Trapping Rain Water - Easy method, published 2022-04-16
- Check if a Parentheses String Can Be Valid - Greedy Solution with easy to understand intuition [C++,Python], published 2021-12-29