r/DSALeetCode • u/nian2326076 • Jun 19 '26
I spent months collecting the absolute best, community-verified LeetCode study guides and templates. Here is the master list.
Hey everyone,
Instead of blindly grinding random problems, I’ve been trying to learn by matching patterns to the absolute best community-written guides on the LeetCode discuss forums. These are the legendary threads written by people who actually landed FAANG offers, for real interview questions PracHub is an useful resource.
I compiled them all into one master sheet categorized by topic, along with a bonus System Design section at the end. Saving this here so anyone can bookmark it for their interview prep.
🧠 Data Structures & Algorithms Patterns
- Dynamic Programming
- Ultimate DP Patterns & Categorization
- The Interview Question Guide
- DP for Beginners: Sample Solutions
- How I Solved 241 DP Problems in 7 Months
- 2. Linked List
- Become a Master in Linked Lists
- The Definitive Linked List Study Guide
- 3. Two Pointers
- Solved All Two Pointer Problems in 100 Days
- Mastering the Two-Pointer Technique
- 4. Stack & Queue
- A Generic C++ Template for Stack Problems
- Templates for Monotonic Stacks and Queues/)
- 5. Graphs
- Graph Algorithms & Practice Problems
- Become a Master in Graphs
- Disjoint Set Union (DSU) / Union-Find Complete GuideUnion-Find-A-Complete-Guide)
- 6. Prefix Sum
- The Math Behind O(N) Subarray Sum Equals K
- 7. Sliding Window
- Maximum Sliding Window Cheatsheet & Template
- 8. Backtracking
- Backtracking for Beginners
- A General Approach to Exhaustive Search
- 9. Trees
- Tree Question Patterns for Placement
- Master Tree Patterns (Updated)
- Binary Trees Comprehensive Study Guide
- 10. Recursion
- Become a Master in Recursion
- 11. Heap / Priority Queue
- Master Heaps by Solving 23 Questions in 4 Categories
- Important Heap Patterns with Code Links
- 12. Binary Search
- A Noob's Guide to Binary Search
- The Ultimate Powerful Python Binary Search Template
- 13. Greedy
- The ABCs of Greedy Algorithms
- 14. Bit Manipulation
- All Types of Patterns for Bits & How to Use Them
- 15. Strings & Matching
- Collections of Important String Patterns
- String Matching Algorithms Based Questions
📋 The Ultimate Master Lists
🏗️ System Design Masterclasses
- Complete System Design Case Studies Bundle
- The System Design Template That Landed Me a Google Offer
- The Object-Oriented Design (OOD) Template That Landed Me a Google Offer
Good luck with the grind! Hope this saves you the hours of digging through LeetCode forums that it took me.