Paths Subjects Questions Quizzes Pricing Search
← All paths

Algorithm Interview (LeetCode Interview)

The classic coding-interview pattern curriculum, end to end — the twenty reusable techniques that cover the overwhelming majority of LeetCode-style interview questions. Starts with the array/string fundamentals (two pointers, hash maps and sets, sliding windows), moves through linked-list and pointer techniques (fast and slow pointers), searching and ordering (binary search, sort and search), the core data-structure toolkit (stacks, heaps, intervals, prefix sums, trees, tries, graphs), then the two algorithmic paradigms that trip candidates up most (backtracking, dynamic programming), and closes with greedy algorithms, bit manipulation, and math and geometry. Each subject pairs a pattern write-up with hands-on problems and a quiz gating subject completion.

3 of 19 subjects free

0 of 19 subjects complete 0%
Start: Two Pointers →

Sign up free to save your progress through this path.

  1. 1

    Two Pointers

    Learn the two-pointer technique for scanning arrays and strings in O(n) time and O(1) extra space. Covers converging, fixed-gap, and in-place rewrite variants through classic interview problems like pair sums, triplets, palindromes, and container area.

    Free Start →
  2. 2

    Hash Maps and Sets

    Learn how hash maps and hash sets give near-constant-time membership, lookup, and counting, and use that power to solve classic interview problems like two-sum, Sudoku validation, matrix zeroing, longest consecutive runs, and geometric-sequence counting.

    Free Start →
  3. 3

    Linked Lists

    Linked lists are the proving ground for pointer discipline in coding interviews: this subject builds your intuition for in-place traversal and rewiring, then applies it to six problems ranging from a basic reversal to designing an O(1) LRU cache.

    Free Start →
  4. 4

    Fast and Slow Pointers

    Learn Floyd's tortoise-and-hare technique for solving linked-list and sequence problems without extra memory. This subject covers cycle detection, midpoint finding, and how to recognize disguised cycle problems like Happy Number.

    Pro Start →
  5. 5

    Sliding Windows

    Learn the sliding window technique for solving string and array problems in linear time. Covers fixed-size windows for exact-length matching and variable-size windows that expand and contract based on a validity condition.

    Pro Start →
  6. 6

    Binary Search

    Learn the classic binary search template and its off-by-one traps, then generalize the idea to 'binary search on the answer' over monotonic predicates. Covers rotated arrays, medians of two arrays, matrix search, peak finding, and weighted sampling.

    Pro Start →
  7. 7

    Stacks

    Learn how a simple last-in-first-out stack powers a huge class of interview problems: balancing brackets, evaluating expressions, and finding the next greater element in linear time. This subject builds the core stack toolkit and extends it to the monotonic stack and monotonic deque, two techniques that turn O(n^2) brute-force scans into O(n) passes.

    Pro Start →
  8. 8

    Heaps

    Learn the binary heap / priority queue abstraction and the problem shapes it unlocks: top-k selection, merging sorted sequences, and running statistics over a stream. Covers Python's `heapq` module and four classic interview problems, from k-most-frequent strings to a live running median.

    Pro Start →
  9. 9

    Intervals

    Learn the interval pattern for problems that describe ranges on a number line: merging overlapping ranges, intersecting two range lists, and finding the maximum number of ranges active at once. Covers sorting-by-start and sweep-line event-counting techniques through three classic interview problems.

    Pro Start →
  10. 10

    Prefix Sums

    Learn the prefix-sum technique for answering range-sum queries in constant time after linear preprocessing, and its two most common interview extensions: counting subarrays with a target sum using a hash map, and computing products without division using prefix/suffix products.

    Pro Start →
  11. 11

    Trees

    Learn how binary trees are built, traversed, and reasoned about recursively, then apply that thinking to search, balance, path, reconstruction, and serialization problems. Covers inversion, balance checks, level-order views, BST validation, lowest common ancestor, traversal-based reconstruction, max path sum, symmetry, vertical order, kth-smallest, and serialization.

    Pro Start →
  12. 12

    Tries

    Learn the trie (prefix tree) data structure: how it represents a set of strings as a tree of shared prefixes, why that makes prefix and wildcard queries fast, and how to combine it with DFS/backtracking to search a 2D board of letters. Covers implementing a trie from scratch, wildcard search with '.', and multi-word board search.

    Pro Start →
  13. 13

    Graphs

    A deep dive into graph algorithms for coding interviews: DFS, BFS, Union-Find, and Dijkstra's algorithm, applied to grids, dependency graphs, and weighted networks. You'll learn to recognize which tool a problem is asking for and implement each one cleanly under time pressure.

    Pro Start →
  14. 14

    Backtracking

    Learn backtracking, a controlled brute-force technique for exploring all valid configurations of a problem by building a solution incrementally and abandoning branches as soon as they violate a constraint. This subject covers the core recursive pattern and applies it to five classic interview problems: permutations, subsets, N-Queens, combination sums, and phone keypad letter combinations.

    Pro Start →
  15. 15

    Dynamic Programming

    Learn to recognize optimal substructure and overlapping subproblems, then build DP solutions systematically with memoization or tabulation. Covers 1D sequence DP, 2D grid/string DP, and knapsack-style DP across nine classic interview problems.

    Pro Start →
  16. 16

    Greedy

    Learn the greedy algorithm paradigm: making the locally best decision at each step in a single pass and trusting (with proof, not hope) that it leads to the globally optimal answer. This subject covers the core reasoning tools -- exchange arguments and greedy-choice invariants -- and applies them to three classic interview problems: the jump game, the gas station circuit, and candy distribution.

    Pro Start →
  17. 17

    Sort and Search

    Learn how merge sort, quicksort, quickselect, and three-way partitioning work under the hood, and use them to sort a linked list in place, implement a general array sort, find the kth largest element in average O(n), and sort a three-valued array in a single pass.

    Pro Start →
  18. 18

    Bit Manipulation

    Learn the core bitwise operators and the small set of identities — XOR cancellation, n & (n-1), n & -n — that unlock O(1)-space solutions to classic interview problems. Covers counting set bits with DP, finding a lonely element with XOR, and rearranging bits with masks and shifts.

    Pro Start →
  19. 19

    Math and Geometry

    A tour of interview problems that don't fit a single reusable data structure — matrix simulation, digit manipulation with overflow checks, coordinate geometry, and classic recurrences. Covers spiral traversal, integer reversal, collinear points, the Josephus problem, and triangle numbers.

    Pro Start →

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.