Data Structures & Algorithms
DSA Mastery - Interview Prep, End to End
A 34-module DSA course for engineers prepping for serious technical interviews.
DSA Mastery - Interview Prep, End to End
A complete 34-module data structures and algorithms course for engineers preparing for serious technical interviews. The course is structured the way patterns actually appear in interviews — not the way textbooks order them — and grouped into sub-modules so you can drill into a specific pattern (Two Pointers — Opposite Direction, DP — 0/1 Knapsack, Binary Search on Answer) instead of skimming a flat topic list.
You start with the interview process itself (how rounds work, how to communicate, how to time-manage), build the mathematical vocabulary for Big O, and pick a language for the rest of the course. Then you work through the core data structures (sorting, arrays, strings, hash tables) and the pattern-based sections that most problems collapse into (two pointers, sliding window, prefix sum, kadane's, matrix).
From there, the course moves into linked structures (linked lists, stacks, queues), recursion and backtracking, binary search, and the tree family (binary tree, BST, tries, heaps, intervals). The deeper second half covers design problems, greedy algorithms, graphs (76 topics — every graph algorithm you'll need), and dynamic programming (91 topics, taxonomised by class). The advanced module closes with senior-level material — KMP, suffix arrays, segment trees with lazy propagation, line sweep.
The course also ships with three companion modules:
- Per-module cheat sheets — appended as the final topic of each of the 32 core modules. Templates, complexity tables, and interview signals.
- Pattern Guides (Module 33) — 15 cross-module decision frameworks. "Given a problem, which technique do I reach for first?"
- Reference & Study Plan (Module 34) — priority curation, LeetCode reverse index, DP classification, graph algorithm comparison, complexity appendix, comparative tables, glossary.
The topics that mirror our free practice problems stay free as previews — sample the course voice and depth before deciding. The full course is a one-off purchase. Code samples use Java as the primary language.
What you will learn
- How interviews actually work — and how to spend your 45 minutes
- Big O analysis, recurrence relations, and the Master Theorem
- 30+ algorithmic patterns: two pointers, sliding window, prefix sum, kadane's, sorts, binary search, BFS/DFS, dynamic programming
- Trees end-to-end: binary trees, BSTs, tries, heaps, intervals
- The full graph algorithm catalog: BFS, DFS, Dijkstra, Bellman-Ford, Floyd-Warshall, topological sort, union find, MST
- 91 dynamic-programming problems organised into 9 canonical classes
- Senior-level material: KMP, suffix arrays, segment trees with lazy propagation, line sweep
- A LeetCode-cross-referenced study plan you can finish in 1, 2, 4 or 8 weeks
Prerequisites
- Basic familiarity with at least one programming language (Java, Python, C++, JavaScript, or similar)
- Comfort with common control flow (loops, conditionals, functions)
- No prior interview-prep experience required
Course outline
Module 1: Welcome
2 topics. Course orientation.
- Course Roadmap 7 min read
- How to Use This Course 4 min read
- Join the Community 5 min read
- Mindset 4 min read
Module 2: Coding Interview Strategy
5 topics. Meta-content about the interview process itself, not algorithms.
- How Coding Interviews Work 6 min read
- How to Communicate During Interviews 7 min read Pro lesson
- Time Management in Coding Interviews 8 min read Pro lesson
- How to Identify Which Pattern to Use 8 min read Pro lesson
- How to Handle Unseen Problems 8 min read Pro lesson
- First Five Minutes 5 min read Pro lesson
- Handling Stuck 6 min read Pro lesson
- Mock Interview 6 min read Pro lesson
Module 3: Big O Notation
5 topics. The mathematical vocabulary for talking about algorithm efficiency.
- Introduction 7 min read
- Best, Worst, and Average Complexity 6 min read Pro lesson
- Amortized Analysis 6 min read Pro lesson
- Recurrence Relations 7 min read Pro lesson
- Master Theorem 6 min read Pro lesson
- Space Complexity 5 min read Pro lesson
- Common Operations 6 min read Pro lesson
- Reading Code 7 min read Pro lesson
Module 4: Programming Fundamentals
6 topics. Language-specific setup for learners coming from different stacks.
- Java for DSA 6 min read
- Python for DSA 8 min read
- C++ for DSA 7 min read
- C# for DSA 7 min read
- JavaScript for DSA 8 min read
- TypeScript for DSA 7 min read
Module 5: Sorting Algorithms
10 topics. The foundational comparison and non-comparison sorts.
- Bubble Sort 11 min read
- Selection Sort 15 min read Pro lesson
- Insertion Sort 10 min read Pro lesson
- Shell Sort 10 min read Pro lesson
- Merge Sort 10 min read Pro lesson
- Quick Sort 10 min read
- Heap Sort 11 min read Pro lesson
- Counting Sort 9 min read Pro lesson
- Bucket Sort 10 min read Pro lesson
- Radix Sort 11 min read Pro lesson
Module 6: Arrays
19 topics. The most-used data structure in interviews, grouped by problem pattern.
- Introduction 5 min read
- Array Manipulation 7 min read Pro lesson
- Finding & Counting 8 min read Pro lesson
- Stock Problems 7 min read Pro lesson
- Subarrays & Subsequences 8 min read Pro lesson
- Advanced Techniques 8 min read Pro lesson
Module 7: Strings
18 topics. String manipulation, the second-most common interview surface.
- Basics 6 min read Pro lesson
- Palindromes 7 min read Pro lesson
- Anagrams & Patterns 7 min read Pro lesson
- String Transformations 7 min read Pro lesson
- Hard String Problems 9 min read Pro lesson
Module 8: Bit Manipulation
13 topics. Working with binary representation directly.
- Introduction 6 min read
- XOR Tricks 7 min read Pro lesson
- Bit Counting 6 min read Pro lesson
- Bit Masking 7 min read Pro lesson
Module 9: Hash Tables
22 topics. The single most powerful data structure for interview problems.
- Introduction 6 min read
- Frequency Counting 7 min read Pro lesson
- Frequency & Counting 6 min read Pro lesson
- Duplicate Detection 6 min read Pro lesson
- Pattern Matching 6 min read Pro lesson
- Advanced Hashing 6 min read Pro lesson
Module 10: Two Pointers
17 topics. A core technique that turns O(n²) brute force into O(n) solutions.
- Introduction 6 min read
- Opposite Direction 6 min read Pro lesson
- Same Direction 7 min read Pro lesson
Module 11: Prefix Sum
13 topics. Precomputed cumulative sums for range-query problems.
- Introduction 7 min read
- Basic Prefix Sum 7 min read Pro lesson
- Prefix Sum + Hash Map 7 min read Pro lesson
- 2D Prefix Sum 7 min read Pro lesson
Module 12: Sliding Window
22 topics. The technique for problems involving contiguous subarrays or substrings.
- Introduction 6 min read
- Fixed Size 7 min read Pro lesson
- Dynamic Size 8 min read Pro lesson
Module 13: Kadane's Algorithm
8 topics. The classic technique for maximum-subarray problems.
- Introduction 5 min read
- Classic Kadane 8 min read Pro lesson
- Kadane Variants 8 min read Pro lesson
- Kadane with Constraints 9 min read Pro lesson
Module 14: Matrix
9 topics. 2D-grid problems.
- Matrix Traversal 7 min read Pro lesson
- Matrix Transformation 7 min read Pro lesson
Module 15: Linked List
28 topics. Pointer-based linear data structures.
- Introduction 5 min read Pro lesson
- Single Linked List Basics 7 min read Pro lesson
- In-place Reversal 6 min read Pro lesson
- Fast and Slow Pointers 6 min read Pro lesson
Module 16: Stacks
37 topics. The LIFO data structure and its specialized variants.
- Introduction 4 min read
- Standard Stack Problems 6 min read Pro lesson
- Monotonic Stack 7 min read Pro lesson
Module 17: Queues
17 topics. FIFO data structures and the monotonic queue technique.
- Introduction 4 min read
- Standard Queue Problems 6 min read Pro lesson
- Monotonic Queue 7 min read Pro lesson
Module 18: Sorting (Advanced Applications)
11 topics. Sorting as a tool for solving other problems.
- Bucket Sort Applications 8 min read Pro lesson
- Merge Sort Applications 8 min read Pro lesson
- Quick Sort / QuickSelect 8 min read Pro lesson
Module 19: Recursion & Backtracking
23 topics. The mental model for problems with branching choices.
- Recursion Fundamentals 6 min read Pro lesson
- Recursion Basics 7 min read Pro lesson
- Subsets & Combinations 6 min read Pro lesson
- Permutations 6 min read Pro lesson
- Partitioning & Parsing 6 min read Pro lesson
- Hard Backtracking 7 min read Pro lesson
Module 20: Divide and Conquer
5 topics. The divide-conquer-combine pattern.
- Introduction to Divide and Conquer 5 min read Pro lesson
- Longest Nice Substring 8 min read Pro lesson
- Convert Sorted List to Binary Search Tree 10 min read
- Construct Quad Tree 9 min read Pro lesson
- Maximum Binary Tree 9 min read Pro lesson
Module 21: Binary Search
25 topics. Search in O(log n), and the broader pattern of searching on monotonic functions.
- Introduction 6 min read Pro lesson
- Standard Binary Search 7 min read Pro lesson
- Modified Binary Search 7 min read Pro lesson
- Binary Search on Answer 7 min read Pro lesson
- Binary Search on Matrix 7 min read Pro lesson
- Binary Search Advanced 8 min read Pro lesson
Module 22: Binary Tree
47 topics. Tree data structures organized by traversal pattern.
- Introduction 8 min read Pro lesson
- Level Order 7 min read Pro lesson
- Pre Order 7 min read Pro lesson
- In Order 7 min read Pro lesson
- Post Order 7 min read Pro lesson
Module 23: BST / Ordered Set
18 topics. Tree-based ordered structures.
- Introduction 6 min read Pro lesson
- Basic BST Operations 7 min read Pro lesson
- BST Modification 8 min read Pro lesson
- BST Navigation 8 min read Pro lesson
- BST Construction 8 min read Pro lesson
- Ordered Set Applications 8 min read Pro lesson
Module 24: Tries
15 topics. Prefix-tree data structure for string-search problems.
- Introduction 6 min read Pro lesson
- Trie Implementation 8 min read Pro lesson
- Prefix & Search 8 min read Pro lesson
- Trie String Operations 9 min read Pro lesson
- Trie + Bit Operations 9 min read Pro lesson
- Hard Trie 9 min read Pro lesson
Module 25: Heaps
19 topics. Priority queues and the "K-something" pattern.
- Introduction 7 min read Pro lesson
- Standard Heap Problems 8 min read Pro lesson
- Two Heaps 8 min read Pro lesson
- K-Way Merge 9 min read Pro lesson
- Top K Elements 8 min read Pro lesson
Module 26: Intervals
17 topics. Range-based problems and the merge/insert patterns.
- Introduction 5 min read Pro lesson
- Interval Basics 7 min read Pro lesson
- Merge & Insert 8 min read Pro lesson
- Greedy Intervals 8 min read Pro lesson
- Hard Intervals 9 min read Pro lesson
Module 27: Data Structure Design
22 topics. Implementing the data structures themselves.
- Stack & Queue Design 8 min read Pro lesson
- Rate Limiting & Counters 9 min read Pro lesson
- Key-Value Stores 9 min read Pro lesson
- Randomized Design 9 min read Pro lesson
- History & Navigation 9 min read Pro lesson
- Cache Design 10 min read Pro lesson
- Complex System Design 10 min read Pro lesson
Module 28: Greedy
19 topics. The "make the locally optimal choice" pattern.
- Introduction 5 min read Pro lesson
- Selection Greedy 8 min read Pro lesson
- Jump Problems 9 min read Pro lesson
- Parentheses & String 9 min read Pro lesson
- Scheduling 9 min read Pro lesson
- Array Greedy 9 min read Pro lesson
- Hard Greedy 9 min read Pro lesson
Module 29: Graphs
76 topics. The largest section, covering traversal, shortest path, MST, and topological sort.
- Introduction 9 min read Pro lesson
- DFS Problems 10 min read Pro lesson
- BFS Problems 10 min read Pro lesson
- Topological Sort 10 min read Pro lesson
- Union Find 10 min read Pro lesson
- Minimum Spanning Tree 11 min read Pro lesson
- Shortest Path 11 min read Pro lesson
- Eulerian Circuit 11 min read Pro lesson
Module 30: Dynamic Programming
91 topics. The largest single section. The "store-and-reuse" pattern, grouped by problem shape.
- 1-D DP 11 min read Pro lesson
- 0/1 Knapsack 11 min read Pro lesson
- Unbounded Knapsack 11 min read Pro lesson
- Longest Increasing Subsequence 11 min read Pro lesson
- 2D (Grid) DP 10 min read Pro lesson
- String DP 7 min read Pro lesson
- Tree / Graph DP 7 min read Pro lesson
- Bitmask DP 7 min read Pro lesson
- Digit DP 7 min read Pro lesson
- Probability DP 7 min read Pro lesson
- State Machine DP 6 min read Pro lesson
Module 31: Maths / Geometry
18 topics. Number theory, modular arithmetic, and 2D geometry.
- Number Basics 5 min read Pro lesson
- Number Properties 6 min read Pro lesson
- Math Operations 6 min read Pro lesson
- Geometry 7 min read Pro lesson
Module 32: Advanced Topics
17 topics. Senior-level techniques that show up in harder interviews.
- String Matching 7 min read Pro lesson
- Advanced Data Structures 7 min read Pro lesson
- Line Sweep 7 min read Pro lesson
Module 33: Pattern Guides
Fifteen cross-module decision frameworks. Each guide answers a single question: "given a problem, which technique do I reach for first?" — they collect signals from across the course into 30-second classifiers.
- Array Scan Patterns 6 min read Pro lesson
- DP vs Greedy vs Backtracking 7 min read Pro lesson
- Graph Search Algorithms 9 min read Pro lesson
- Range Query Data Structures 7 min read Pro lesson
- Tree Traversal Patterns 7 min read Pro lesson
- String Matching Algorithms 6 min read Pro lesson
- Backtracking Shapes 8 min read Pro lesson
- Interval Problems 7 min read Pro lesson
- Counting Techniques 7 min read Pro lesson
- Substring Subarray with Property 6 min read Pro lesson
- K-th Element Problems 6 min read Pro lesson
- Path Problems 7 min read Pro lesson
- 2D Grid Problems 6 min read Pro lesson
- Ordered Data Structures 6 min read Pro lesson
- Coordinate Compression Signals 5 min read Pro lesson
Module 34: Reference & Study Plan
The companion library for the course — priority curation with 1, 2, 4, and 8-week study plans, a LeetCode reverse index, dynamic-programming and graph-algorithm synthesis, the complexity appendix, comparative tables, and the glossary.
- Priority Curation & Study Plans (1, 2, 4, 8-Week) 8 min read Pro lesson
- LeetCode Reverse Index — Top 120 Problems → Course Topics 14 min read Pro lesson
- Dynamic Programming Classification (9 Canonical Classes) 11 min read Pro lesson
- Graph Algorithm Comparison (8 Categories) 11 min read Pro lesson
- Complexity Appendix — Big O for Every Data Structure 8 min read Pro lesson
- Comparative Tables — Side-by-Side Algorithm Reference 7 min read Pro lesson
- Glossary 8 min read Pro lesson