Loading repovive.com/roadmaps/pattern-22
Roadmaps
Pattern 22: LeetCode Interview Patterns
Greedy
Problemset
Discussion
AI Helper
Getting Started
0/5
Hash Map Patterns
0/33
Two Pointers
0/31
Sliding Window
0/33
Prefix Sum
0/32
Binary Search
0/33
Linked List
0/29
Stack Patterns
0/31
Monotonic Stack
0/32
Heap / Priority Queue
0/32
Trees
0/31
Trie
0/32
Backtracking
0/34
Graphs - BFS
0/32
Graphs - DFS
0/36
Topological Sort
0/32
Union Find
0/40
Dynamic Programming - 1D
0/36
Dynamic Programming - 2D
0/32
Intervals
0/31
Greedy
0/40
1
What is Greedy
2
Prerequisites
3
When to Use
4
When NOT to Use
5
LeetCode 455 Assign Cookies - Problem Statement
6
LeetCode 455 Assign Cookies - Solution
7
LeetCode 455 Assign Cookies - Example and Complexity Analysis
8
LeetCode 455 Assign Cookies - Implementation
9
LeetCode 53 Maximum Subarray - Problem Statement
10
Quiz: Kadane's Decision
11
LeetCode 53 Maximum Subarray - Solution
12
LeetCode 53 Maximum Subarray - Example and Complexity Analysis
13
LeetCode 53 Maximum Subarray - Implementation
14
LeetCode 134 Gas Station - Problem Statement
15
Quiz: Gas Station Starting Point
16
LeetCode 134 Gas Station - Why Naive Fails
17
LeetCode 134 Gas Station - Solution
18
LeetCode 134 Gas Station - Example and Complexity Analysis
19
LeetCode 134 Gas Station - Implementation
20
LeetCode 763 Partition Labels - Problem Statement
21
LeetCode 763 Partition Labels - Why Naive Fails
22
LeetCode 763 Partition Labels - Solution
23
LeetCode 763 Partition Labels - Example and Complexity Analysis
24
LeetCode 763 Partition Labels - Implementation
25
LeetCode 45 Jump Game II - Problem Statement
26
LeetCode 45 Jump Game II - Why Naive Fails
27
LeetCode 45 Jump Game II - Solution
28
LeetCode 45 Jump Game II - Example and Complexity Analysis
29
LeetCode 45 Jump Game II - Implementation
30
LeetCode 55 Jump Game - Problem Statement
31
LeetCode 55 Jump Game - Why Naive Fails
32
LeetCode 55 Jump Game - Solution
33
LeetCode 55 Jump Game - Example and Complexity Analysis
34
LeetCode 55 Jump Game - Implementation
35
LeetCode 135 Candy - Problem Statement
36
LeetCode 135 Candy - Solution
37
LeetCode 135 Candy - Example and Complexity Analysis
38
LeetCode 135 Candy - Implementation
39
Common Mistakes
40
Section Recap
Bit Manipulation
0/34
Segment Tree
0/27
30-Day LeetCode Study Plan
0/8
21.1
What is Greedy
2 minutes
100%
Tasks
Read Unit