All 19 problems from Nvidia's six-month LeetCode list (4 Easy, 12 Medium, 3 Hard), grouped by the pattern that solves them. 18 are solved on this site: open one to see which pattern to choose and why, the approach, the code with a line-by-line explanation, and a player that steps through the code on LeetCode's own example. Easy warm-ups and SQL/JavaScript problems link to LeetCode.
On the pattern pages these problems carry a Nvidia badge. Frequency is LeetCode's relative score for this list (100 = asked most often). Read a pattern page first, then work through its group here from the most to the least frequent problem.
About 5–6 problems on 5 days a week. Each month: read the pattern page, solve its worked examples without looking, then this list. Re-solve anything you needed a hint for one week later.
| When | Focus | Patterns (problems on the list) | Total |
|---|---|---|---|
| Month 1 | Foundations: arrays you can scan | 01 · Prefix Sum (1) 02 · Two Pointers (1) 03 · Sliding Window (1) 04 · Fast & Slow Pointers (2) 05 · LinkedList In-place Reversal (1) | 6 |
| Month 2 | Stacks, heaps, intervals, binary search | 07 · Top 'K' Elements (2) 09 · Modified Binary Search (1) 17 · Stack (1) | 4 |
| Month 3 | Trees and graphs | 13 · Matrix Traversal (1) | 1 |
| Month 4 | Search and dynamic programming | 14 · Backtracking (1) | 1 |
| Month 5 | Hashing, greedy, design, weighted graphs | 16 · Hash Map & Set (2) 18 · Greedy (3) 19 · Trie & Design (1) 20 · Shortest Path & MST (1) | 7 |
In the last two weeks, filter to Hard, sort your attention by frequency, and do timed mock interviews: 45 minutes, talk through the brute force, name the pattern, then code it.
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 930 | Binary Subarrays With Sum | Medium | 79 | Array, Hash Table, Sliding Window, Prefix Sum | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 42 | Trapping Rain Water | Hard | 79 | Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 121 | Best Time to Buy and Sell Stock | Easy | 91 | Array, Dynamic Programming | Solution · LeetCode ↗ |
2 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 234 | Palindrome Linked List | Easy | 79 | Linked List, Two Pointers, Stack, Recursion | Solution · LeetCode ↗ | |
| 141 | Linked List Cycle | Easy | 79 | Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 138 | Copy List with Random Pointer | Medium | 79 | Hash Table, Linked List | Solution · LeetCode ↗ |
2 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 23 | Merge k Sorted Lists | Hard | 79 | Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort | Solution · LeetCode ↗ | |
| 347 | Top K Frequent Elements | Medium | 79 | Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 875 | Koko Eating Bananas | Medium | 100 | Array, Binary Search | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 200 | Number of Islands | Medium | 79 | Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 93 | Restore IP Addresses | Medium | 100 | String, Backtracking | Solution · LeetCode ↗ |
2 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 128 | Longest Consecutive Sequence | Medium | 91 | Array, Hash Table, Union-Find | Solution · LeetCode ↗ | |
| 49 | Group Anagrams | Medium | 79 | Array, Hash Table, String, Sorting | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 622 | Design Circular Queue | Medium | 79 | Array, Linked List, Design, Queue | Solution · LeetCode ↗ |
2 solved on the pattern page (step-by-step explanation and a step-through player), 1 Easy warm-ups that link to LeetCode.
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 761 | Special Binary String | Hard | 91 | String, Divide and Conquer, Sorting | Solution · LeetCode ↗ | |
| 1200 | Minimum Absolute Difference | Easy | 79 | Array, Sorting | LeetCode ↗ | |
| 1328 | Break a Palindrome | Medium | 79 | String, Greedy | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 146 | LRU Cache | Medium | 91 | Hash Table, Linked List, Design, Doubly-Linked List | Solution · LeetCode ↗ |
1 solved on the pattern page (step-by-step explanation and a step-through player).
| Done | # | Problem | Level | Frequency | Topics | Links |
|---|---|---|---|---|---|---|
| 743 | Network Delay Time | Medium | 79 | Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Shortest Path, Dijkstra's Algorithm | Solution · LeetCode ↗ |