LeetCode patterns guide for coding interviews — 41 patterns, 820 free problems (no Premium), sorted by real interview frequency and difficulty. Two Pointers, Sliding Window, DP, Graphs, Backtracking, and more.
Repo Automedon/ultimate-leetcode-patterns, read from GitHub 1 d ago. Automedon has not joined Take My Repo.
Automedon/ultimate-leetcode-patterns is a public repo on GitHub by Automedon. LeetCode patterns guide for coding interviews — 41 patterns, 820 free problems (no Premium), sorted by real interview frequency and difficulty. Two Pointers, Sliding Window, DP, Graphs, Backtracking, and more. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It has 321 stars and last changed on 2026-06-23. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-22.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
41 patterns, 20 problems each, all free — no Premium garbage. Sorted top to bottom by how often each pattern actually shows up in interviews. Hash Map and Sliding Window first because they're everywhere. Segment Tree and Fenwick Tree last because almost nobody asks them. Inside each pattern: Easy to Hard, so you're not getting wrecked by a Hard problem before you've even nailed the basic version of the trick.
How to actually use this:
Don't grind all 820. That's a waste of your time and most of this list won't come up. Drill the first 10-15 patterns until you don't have to think — you see the problem, your hands already know the code. Everything below that is bonus coverage for if your interviewer likes to go off-script. Speed matters more than breadth here: 45 minutes isn't a lot of time, and if you're still figuring out syntax halfway through, you're not getting to the part where you actually look good.
Hard truths about the process:
Most loops are decided on the first problem.
Speed and clean code beat a late correct answer.
Follow-ups exist to catch memorized solutions.
You're graded against other candidates that week, not a fixed bar.
1. Hash Map / Hash Set
2. Sliding Window
3. Two Pointers
4. Binary Search
5. Prefix Sum
6. String Manipulation / Parsing
7. String Matching / Pattern Search
8. Stack
9. Monotonic Stack / Queue (Specific Variants)
10. Queue / Deque
11. Tree DFS (Preorder / Inorder / Postorder)
12. Tree BFS (Level Order)
13. Dynamic Programming - 1D
14. Recursion / Divide and Conquer
15. Backtracking / Subsets / Combinations / Permutations
16. Graph DFS
17. Graph BFS
18. Matrix / Grid Traversal
19. Heap / Priority Queue
20. Intervals (Merge / Insert / Overlap)
21. Greedy
22. Dynamic Programming - 2D / Grid
23. Sorting
24. Fast & Slow Pointers (Linked List)
25. Linked List Reversal / Manipulation
26. Binary Search Tree (BST)
27. Bit Manipulation
28. Dynamic Programming - Knapsack Style
29. Design Problems
30. Topological Sort
31. Union-Find (Disjoint Set)
32. Trie (Prefix Tree)
33. Cyclic Sort
34. Math / Number Theory
35. Sliding Window Maximum / Minimum (Specific Variants)
36. Simulation / Array Rearrangement
37. Two Heaps
38. K-way Merge
39. Game Theory / Minimax
40. Segment Tree
41. Binary Indexed Tree (Fenwick Tree)
Automedon/ultimate-leetcode-patterns is a public repo on GitHub by Automedon. LeetCode patterns guide for coding interviews — 41 patterns, 820 free problems (no Premium), sorted by real interview frequency and difficulty. Two Pointers, Sliding Window, DP, Graphs, Backtracking, and more.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-06-23. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
CodeWars 7 kyu Solutions (Please leave a star thank you) Created by https://github.com/Automedon
CodeWars 6 kyu Soluitions (Please leave a star, thank you) Created by https://github.com/Automedon
CodeWars-8-kyu-Soluitions (Please leave a star thank you) Created by https://github.com/Automedon
CodeWars 7 kyu Solutions (Please leave a star thank you) Created by https://github.com/Automedon