Digital edition
The full 148-page guide, illustrated, DRM-free, yours to keep.
- PDF, instant download
- All chapters & hand-drawn diagrams
- Read on any device, forever
Secure checkout by Lemon Squeezy
The powerful ideas behind algorithms (how to search, sort, decide, and break hard problems into easy ones), explained for anyone who's curious. Built on everyday analogies and hand-drawn diagrams, with no code required. Written by an ex-Meta engineer.
PDF · DRM-free · instant download

For decades, computer scientists have been quietly solving the same problems you face every day: when to stop searching and commit, how to choose under uncertainty, how to break something overwhelming into manageable pieces. This book hands you those ideas in plain language.
Algorithms get taught as code and proofs, walled off behind a programming background most people never have the time to get.
Start from how a problem is shaped, using everyday analogies (a recipe, a phone book, planning a weekend) and clear, hand-drawn diagrams. No code required.
A new lens for thinking. You start noticing the patterns, trade-offs and shortcuts behind decisions everywhere, and yes, it doubles as a sharp refresher if you're an engineer prepping interviews.
These are real pages from the book, not a marketing summary. The first explains how a computer "executes" using a cooking scenario. The second uses random pebbles to estimate π. If these land for you, the rest of the book is more of the same.
Quicksort picks one number as a "pivot" and shuffles everything else into two piles: smaller than the pivot on one side, bigger on the other. Then it does the same thing to each pile, over and over, until the list is sorted. Mergesort splits the list in half, splits each half in half again until every piece is a single number, then walks back up combining the pieces in order. To combine two sorted pieces, it keeps peeking at the front of each and taking whichever is smaller, like merging two sorted decks of cards.
The book stands on its own. The interactive pack turns the key algorithms into animations you can open offline and tinker with: the demo above, downloadable and yours.
The full 148-page guide, illustrated, DRM-free, yours to keep.
Secure checkout by Lemon Squeezy
Everything in the book, plus a set of downloadable HTML animations for the core algorithms.
Secure checkout by Lemon Squeezy
Grab the book, or the book plus the interactive pack, and start building real intuition today.