Stop staring at problems for hours. The 30-minute method builds real pattern recognition through deliberate practice and spaced repetition.
This is the exact process. Follow it for every single problem.
Solving a problem once means nothing. You need to prove you can do it again without help.
If you can solve it on Day 7 without help, you've genuinely learned the pattern.
Danny's interview-prep skill acts as a tutor: gives hints (not answers), asks you to explain your thinking, catches logical errors, and guides you to the solution yourself.
Get the Interview Prep SkillTrack which patterns you've mastered vs. which ones still trip you up. Focus your time on the weak ones.
| Pattern | Key Insight | Status |
|---|---|---|
| Two Pointer | Sorted arrays, shrink from both ends | Strong |
| Sliding Window | Contiguous subarray/substring, expand + shrink | Strong |
| HashMap | O(1) lookups, complements, frequency count | Strong |
| BFS / DFS | Trees, graphs, level-order vs. depth-first | Learning |
| Binary Search | Sorted data, search space reduction | Learning |
| Backtracking | All combinations/permutations, prune early | Weak |
| Dynamic Prog. | Overlapping subproblems, optimal substructure | Weak |
| Greedy | Local optimal = global optimal, sort first | Learning |
| Heap / PQ | Top-K, merge sorted lists, scheduling | Weak |
| Stack | Matching brackets, monotonic stack, undo | Learning |
How to use: Copy this into a Notion page or spreadsheet. After each problem, update the status. Focus 80% of your time on "Weak" and "Learning" patterns.
The best channels, tools, and lists for building LeetCode pattern recognition.