Loading repovive.com/roadmaps/leetcode-hard-problem-solving
Roadmaps
LeetCode Hard Problem Solving
Premium
Monotonic Stack
Problemset
Discussion
AI Helper
Getting Started
0/5
Binary Search
0/49
Backtracking
0/48
Greedy
0/45
Monotonic Stack
0/45
1
Introduction to Monotonic Stack
2
When to Use Monotonic Stack
3
Problem - Largest Rectangle in Histogram
4
Largest Rectangle in Histogram - Core Idea
5
Largest Rectangle in Histogram - Implementation
6
Largest Rectangle in Histogram - Time and Space
7
Problem - Trapping Rain Water
8
Trapping Rain Water - Stack Approach
9
Trapping Rain Water - Implementation
10
Trapping Rain Water - Time and Space
11
Problem - Maximal Rectangle
12
Maximal Rectangle - Reduction to Histogram
13
Maximal Rectangle - Implementation
14
Maximal Rectangle - Time and Space
15
Problem - Sum of Total Strength of Wizards
16
Sum of Total Strength - Contribution Formula
17
Sum of Total Strength - Implementation
18
Sum of Total Strength - Time and Space
19
Problem - Number of Visible People in Queue
20
Number of Visible People - Stack Logic
21
Number of Visible People - Implementation
22
Number of Visible People - Time and Space
23
Problem - Sliding Window Maximum
24
Sliding Window Maximum - Monotonic Deque
25
Sliding Window Maximum - Implementation
26
Sliding Window Maximum - Time and Space
27
Problem - Sum of Subarray Minimums
28
Sum of Subarray Minimums - Contribution Counting
29
Sum of Subarray Minimums - Implementation
30
Sum of Subarray Minimums - Time and Space
31
Problem - Maximum Subarray Min-Product
32
Maximum Subarray Min-Product - Approach
33
Maximum Subarray Min-Product - Implementation
34
Maximum Subarray Min-Product - Time and Space
35
Problem - 132 Pattern
36
132 Pattern - Right-to-Left Stack
37
132 Pattern - Implementation
38
132 Pattern - Time and Space
39
Problem - Max Chunks to Make Sorted II
40
Max Chunks to Make Sorted II - Stack Approach
41
Max Chunks to Make Sorted II - Implementation
42
Max Chunks to Make Sorted II - Time and Space
43
Quiz: Monotonic Stack Patterns
44
Common Mistakes in Monotonic Stack
45
Section Recap
Hashmap
0/45
5.1
Introduction to Monotonic Stack
100%
Premium Roadmap
You're previewing free content. Unlock all units to continue learning.
Subscribe
Tasks
Read Unit