Skip to content

Commit 6c839f4

Browse files
committed
Add 15 problem list from neetcode
1 parent a98cdf4 commit 6c839f4

2 files changed

Lines changed: 34 additions & 5 deletions

File tree

β€Ž.vscode/settings.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
"katexoptions",
128128
"keypromoter",
129129
"kofi",
130+
"Koko",
130131
"Krycho",
131132
"lampp",
132133
"langpath",

β€Žcontent/misc/leetcode.mdβ€Ž

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
+++
22
title="Leetcode"
33
date=2025-03-24
4-
updated = 2025-06-26
4+
updated = 2025-09-04
55
taxonomies = { tags = ["Misc"] }
66
+++
77

@@ -162,7 +162,8 @@ pub fn subsets(nums: Vec<i32>) -> Vec<Vec<i32>> {
162162

163163
In my opinion if you already have experience with leetcode then a good video to start with is [this one](https://www.youtube.com/watch?v=0XUzt0D3xMw) from [Uncle Steve](https://alifeengineered.substack.com/about) where he starts of with summarizing the article [How well do LeetCode ratings predict interview performance? Here's the data](https://interviewing.io/blog/how-well-do-leetcode-ratings-predict-interview-performance).
164164

165-
List of leetcode problems from the description of the video:
165+
<details>
166+
<summary>List of problems from the description of the video</summary>
166167

167168
> Top 'Secretly Easy' Hard Problems:\
168169
> #1: [Reverse Nodes in k-Group](https://leetcode.com/problems/reverse-nodes-in-k-group/description/) - Score: 0.034\
@@ -185,12 +186,39 @@ List of leetcode problems from the description of the video:
185186
> #4: [Median of Two Sorted Arrays](https://leetcode.com/problems/median-of-two-sorted-arrays/description/) - Score: 8.2952\
186187
> #5: [Max Points on a Line](https://leetcode.com/problems/max-points-on-a-line/description/) - Score: 8.0952
187188
189+
</details>
190+
188191
If you're new to leetcode then start with [neetcode][neetcode] it makes it easy to find a path to follow.
189192
My key takeaway is that "reasonable" hard problems are actually not hard just require multiple techniques and thus you get more value from doing them.
190-
But be warned some of them just require niche knowledge.
193+
But be warned some of the hard problems (the one's I don't generally consider reasonable) just require niche knowledge.
191194
The following are some lists I think are worth taking a look at and why.
192-
When starting off getting practice on types of solutions is good to help you build up intuition on when a type of solution is appropriate.
193-
However, once you are comfortable with the solution types at least in general then not having a hint on what type of solution to use is better to help you identify what type of solution you should use instead of being suggested one.
195+
When starting off getting practice on different techniques for developing solutions is good to help you build up intuition on when a particular technique is appropriate.
196+
However, once you are comfortable with the techniques then not having a hint on which technique to use is better to help you practice identifying the technique(s) you should use.
197+
198+
<details>
199+
<summary> Short List from Neetcode </summary>
200+
201+
Source: <https://www.linkedin.com/posts/navdeep-singh-3aaa14161_if-i-only-had-a-short-time-to-study-for-my-activity-7312473774598012928-ZhXz>
202+
203+
> If I only had a short time to study for my coding interview, these are the 15 questions I would solve (in order)
204+
205+
1. 🟒 [Two Sum](https://neetcode.io/problems/two-integer-sum) ([Leetcode](https://leetcode.com/problems/two-sum/)) - Practice using hash maps.
206+
2. 🟑 [Product of Array Except Self](https://neetcode.io/problems/products-of-array-discluding-self) ([Leetcode](https://leetcode.com/problems/product-of-array-except-self/)) Practice prefix / suffix sums.
207+
3. 🟑 [3Sum](https://neetcode.io/problems/three-integer-sum/) ([Leetcode](https://leetcode.com/problems/3sum/)) - Practice sorting and two pointers.
208+
4. 🟑 [Longest Repeating Character Replacement](https://neetcode.io/problems/longest-repeating-substring-with-replacement) ([Leetcode](https://leetcode.com/problems/longest-repeating-character-replacement/)) - Practice sliding window.
209+
5. 🟑 [Daily Temperatures](https://neetcode.io/problems/daily-temperatures) ([Leetcode](https://leetcode.com/problems/daily-temperatures/)) - Practice monotonic stack.
210+
6. 🟑 [Search in Rotated Sorted Array](https://neetcode.io/problems/find-target-in-rotated-sorted-array) ([Leetcode](https://leetcode.com/problems/search-in-rotated-sorted-array/)) - Practice Binary Search on array.
211+
7. 🟑 [Koko Eating Bananas](https://neetcode.io/problems/eating-bananas) ([Leetcode](https://leetcode.com/problems/koko-eating-bananas/)) - Practice Binary Search on a range of values, rather then a data structure.
212+
8. 🟑 [LRU Cache](https://neetcode.io/problems/lru-cache) ([Leetcode](https://leetcode.com/problems/lru-cache)) - Practice doubly linked lists and hashmaps.
213+
9. 🟒 [Same Binary Tree](https://neetcode.io/problems/same-binary-tree) ([Leetcode](https://leetcode.com/problems/same-tree/)) - Practice tree traversal - DFS or BFS.
214+
10. πŸ”΄ [Serialize and Deserialize Binary Tree](https://neetcode.io/problems/serialize-and-deserialize-binary-tree) ([Leetcode](https://leetcode.com/problems/serialize-and-deserialize-binary-tree)) - Practice hard tree traversal.
215+
11. πŸ”΄ [Median in Data Stream](https://neetcode.io/problems/find-median-in-a-data-stream) ([Leetcode](https://leetcode.com/problems/find-median-from-data-stream)) - Practice two heaps pattern.
216+
12. 🟑 [Combination Sum](https://neetcode.io/problems/combination-target-sum) ([Leetcode](https://leetcode.com/problems/combination-sum)) - Practice two-branch backtracking.
217+
13. 🟑 [Course Schedule](https://neetcode.io/problems/course-schedule) ([Leetcode](https://leetcode.com/problems/course-schedule)) - Practice DFS or BFS on adjacency list.
218+
14. 🟑 [Rotting Oranges](https://neetcode.io/problems/rotting-fruit) ([Leetcode](https://leetcode.com/problems/rotting-oranges/)) - Practice multi-source BFS.
219+
15. 🟑 [Longest Common Subsequence](https://neetcode.io/problems/longest-common-subsequence) ([Leetcode](https://leetcode.com/problems/longest-common-subsequence)) - Practice dynamic programming, top-down or bottom-up.
220+
221+
</details>
194222

195223
These are some good videos to help you get oriented:
196224

0 commit comments

Comments
Β (0)