A comprehensive, hierarchically-organized collection of Data Structures & Algorithms patterns for technical interview preparation and competitive programming mastery.
- 19 Complete Pattern Taxonomies - Every major algorithm pattern broken down into learnable sub-patterns
- 1000+ LeetCode Problems Mapped - Problems organized by specific techniques, not just random difficulty
- Hierarchical Learning Path - From fundamentals to advanced techniques with clear progression
- Pattern Interconnections - Understand how algorithms relate and build upon each other
Master these first - they're the building blocks for everything else:
| Pattern | Problems | Why Essential |
|---|---|---|
| Two Pointers | 100+ | Simple technique, immediate wins, builds pattern recognition |
| Hash Table | 150+ | O(1) operations, foundation for optimization |
| Stack & Queue | 100+ | LIFO/FIFO operations, parsing, BFS/DFS |
| Linked List | 75+ | Pointer manipulation, two-pointer applications |
| Sorting Algorithms | 100+ | All sorting paradigms and applications |
Advanced patterns that build on foundations:
| Pattern | Problems | Focus Area |
|---|---|---|
| Traversal Algorithms | 195+ | Essential for trees/graphs, recursive thinking |
| Binary Search | 100+ | Logical thinking, extends beyond just searching |
| Heap Priority Queue | 50+ | Top-K problems, scheduling, graph algorithms |
| Prefix Sum | 100+ | Range queries, subarray problems |
| Pattern | Description |
|---|---|
| Greedy Algorithms | Optimization through local choices |
| Backtracking | Combinatorial generation, constraint satisfaction |
| Dynamic Programming | Highest ROI pattern, most complex problems |
| Divide & Conquer | Recursive problem decomposition |
| Pattern | Description |
|---|---|
| Trie | String processing, prefix matching |
| Union Find | Graph connectivity, dynamic components |
| Bit Manipulation | Binary operations, XOR tricks, bitmask DP |
| Segment Tree & Fenwick Tree | Advanced range queries |
| Combinatorics & Number Theory | Mathematical algorithms, game theory |
| Design Patterns | System design, custom data structures |
Start with Tier 1 Patterns • Browse All Patterns
Built with ❤️ for the programming community
Happy Coding!