Monotone Stack Problems
Less than 1 minute
Monotonic Stack
Problem ID | Title | Solution | Tags | Difficulty |
---|---|---|---|---|
0739 | Daily Temperatures | [[LeetCode XXXX]] | Stack, Array, Monotonic Stack | Medium |
0496 | Next Greater Element I | [[LeetCode XXXX]] | Stack, Array, Hash Table, Monotonic Stack | Easy |
0503 | Next Greater Element II | [[LeetCode 0503]] | Stack, Array, Monotonic Stack | Medium |
0901 | Online Stock Span | [[LeetCode 0901]] | Stack, Design, Data Stream, Monotonic Stack | Medium |
0084 | Largest Rectangle in Histogram | [[LeetCode 0084]] | Stack, Array, Monotonic Stack | Hard |
0316 | Remove Duplicate Letters | [[LeetCode XXXX]] | Stack, Greedy, String, Monotonic Stack | Medium |
1081 | Smallest Subsequence of Distinct Characters | [[LeetCode XXXX]] | Stack, Greedy, String, Monotonic Stack | Medium |
0042 | Trapping Rain Water | [[LeetCode 0042]] | Stack, Array, Two Pointers, Dynamic Programming, Monotonic Stack | Hard |
0085 | Maximal Rectangle | [[LeetCode XXXX]] | Stack, Array, Dynamic Programming, Matrix, Monotonic Stack | Hard |