← back
Monotonic Stack
57 questions · 0 seen
All Monotonic Stack problems
Monotonic Stack
1
Actions
⊣ Practice
Monotonic Stack
⊣ Quiz
Monotonic Stack
Problems
⊣ 42 Trapping Rain Water
Hard
⊣ 84 Largest Rectangle in Histogram
Hard
⊣ 85 Maximal Rectangle
Hard
⊣ 316 Remove Duplicate Letters
Medium
⊣ 321 Create Maximum Number
Hard
⊣ 402 Remove K Digits
Medium
⊣ 456 132 Pattern
Medium
⊣ 496 Next Greater Element I
Easy
⊣ 503 Next Greater Element II
Medium
⊣ 581 Shortest Unsorted Continuous Subarray
Medium
⊣ 654 Maximum Binary Tree
Medium
⊣ 739 Daily Temperatures
Medium
⊣ 768 Max Chunks To Make Sorted II
Hard
⊣ 769 Max Chunks To Make Sorted
Medium
⊣ 853 Car Fleet
Medium
⊣ 901 Online Stock Span
Medium
⊣ 907 Sum of Subarray Minimums
Medium
⊣ 962 Maximum Width Ramp
Medium
⊣ 975 Odd Even Jump
Hard
⊣ 1008 Construct Binary Search Tree from Preorder Traversal
Medium
⊣ 1019 Next Greater Node In Linked List
Medium
⊣ 1081 Smallest Subsequence of Distinct Characters
Medium
⊣ 1124 Longest Well-Performing Interval
Medium
⊣ 1130 Minimum Cost Tree From Leaf Values
Medium
⊣ 1475 Final Prices With a Special Discount in a Shop
Easy
⊣ 1504 Count Submatrices With All Ones
Medium
⊣ 1526 Minimum Number of Increments on Subarrays to Form a Target Array
Hard
⊣ 1574 Shortest Subarray to be Removed to Make Array Sorted
Medium
⊣ 1673 Find the Most Competitive Subsequence
Medium
⊣ 1776 Car Fleet II
Hard
⊣ 1793 Maximum Score of a Good Subarray
Hard
⊣ 1856 Maximum Subarray Min-Product
Medium
⊣ 1944 Number of Visible People in a Queue (PRO)
Hard
⊣ 1996 The Number of Weak Characters in the Game
Medium
⊣ 2030 Smallest K-Length Subsequence With Occurrences of a Letter
Hard
⊣ 2104 Sum of Subarray Ranges
Medium
⊣ 2281 Sum of Total Strength of Wizards
Hard
⊣ 2289 Steps to Make Array Non-decreasing
Medium
⊣ 2334 Subarray With Elements Greater Than Varying Threshold
Hard
⊣ 2454 Next Greater Element IV
Hard
⊣ 2487 Remove Nodes From Linked List
Medium
⊣ 2617 Minimum Number of Visited Cells in a Grid
Hard
⊣ 2736 Maximum Sum Queries
Hard
⊣ 2818 Apply Operations to Maximize Score
Hard
⊣ 2865 Beautiful Towers I
Medium
⊣ 2866 Beautiful Towers II
Medium
⊣ 2940 Find Building Where Alice and Bob Can Meet
Hard
⊣ 2945 Find Maximum Non-decreasing Array Length
Hard
⊣ 3113 Find the Number of Subarrays Where Boundary Elements Are Maximum
Hard
⊣ 3229 Minimum Operations to Make Array Equal to Target
Hard
⊣ 3420 Count Non-Decreasing Subarrays After K Operations
Hard
⊣ 3430 Maximum and Minimum Sums of at Most Size K Subarrays
Hard
⊣ 3523 Make Array Non-decreasing
Medium
⊣ 3542 Minimum Operations to Convert All Elements to Zero
Medium
⊣ 3638 Maximum Balanced Shipments
Medium
⊣ 3676 Count Bowl Subarrays
Medium
⊣ 3816 Lexicographically Smallest String After Deleting Duplicate Characters
Hard