Algorithms Playbook
Algorithms & data structures, visual

Watch algorithms think.

Step through every algorithm line by line in Python, TypeScript or Java, learn the patterns that FAANG interviews are built on, and check yourself with quick quizzes. Free, in English and Spanish.

Today

🔥 0

day streak

⚡ 0

XP

Daily goal0 / 30 XP

Answer a quiz to start your streak.

Badges

✦First steps
◎Goal reached
🔥3-day streak
🔥7-day streak
🔥30-day streak
⚡100 XP
⚡500 XP
⚡2,000 XP

Your XP, streak and badges are shared by every playbook.

Learning path

Your learning path

Twelve units, from Big-O to dynamic programming. Each one unlocks visual lessons, pattern drills and quizzes.

  1. 00

    Unit 0 · 0/3 done

    Foundations

    Big-O, recursion and how to attack a problem in an interview.

  2. 01

    Unit 1 · 0/3 done

    Arrays, strings & hashing

    The workhorses: hash maps, sets, prefix sums and counting.

  3. 02

    Unit 2 · 0/2 done

    Two pointers & sliding window

    Replace nested loops with one smart pass.

  4. 03

    Unit 3 · 0/2 done

    Binary search

    Halve the problem every step, even when there's no array.

  5. 04

    Unit 4 · 0/3 done

    Linked lists, stacks & queues

    Fast and slow pointers, monotonic stacks.

  6. 05

    Unit 5 · 0/2 done

    Sorting & intervals

    Merge sort, quicksort and merging intervals.

  7. 06

    Unit 6 · 0/3 done

    Trees & tries

    Traversals, BSTs and recursion on trees.

  8. 07

    Unit 7 · 0/2 done

    Heaps

    Top-K, two heaps and merging K sorted lists.

  9. 08

    Unit 8 · 0/4 done

    Graphs

    BFS, DFS, topological sort, union-find and Dijkstra.

  10. 09

    Unit 9 · 0/2 done

    Backtracking

    Subsets, permutations and combinations.

  11. 10

    Unit 10 · 0/4 done

    Dynamic programming & greedy

    From recursion to tables: 1D, 2D, knapsack, LIS.

  12. 11

    Unit 11 · 0/2 done

    Bits & extras

    Bit tricks, XOR, primes, GCD and fast powers.

  13. ★

    Checkpoint · Ready

    Checkpoint: practice

    Solve problems with a hint ladder and train your pattern radar with quick drills.

  14. ★

    Checkpoint · Ready

    Checkpoint: final lesson

    Mixed questions from every lesson so far, with hearts and streaks.

Let's talk

Got a project or an idea?

Products, teams, mentoring or collaborations: write to me and we'll take it from there.

Work with me →