// pocket-sized · plain English · JavaScript

Your app worked at 50 users.
It died at 5,000.
This is why.

The Self-Taught Developer's Guide to Big O Notation is a pocket-sized introduction to data structures, algorithms, and why apps get slow — written for vibe coders, self-taught devs, and anyone who learned to code by shipping things, not studying them.

// 4"×6" — actually fits in a pocket. 90 pages, zero filler.

SHIPS WORLDWIDE Book cover: The Self-Taught Developer's Guide to Big O Notation by Robert M. Cavezza
// what's inside

Four things. That's the whole book. On purpose.

01 / containers

The Containers

Arrays, objects, maps, sets — what they're actually doing under the hood, and when each one saves you.

02 / speeds

The Speeds

O(1) to O(n!), each with a nickname you'll actually remember when it matters.

03 / recipes

The Recipes

Searching, sorting, hashing, memoization, and more — the patterns behind every fast program.

04 / fixes

The Fixes

Five changes that solve 90% of slow code. Find your bottleneck, apply, ship.

// a taste — the speeds

Nicknames you'll actually remember

notationnicknamethe vibe
O(1)InstantSame speed at 10 items or 10 million.
O(log n)The LibrarianCuts the problem in half every step.
O(n)The LineTwice the data, twice the wait. Fair enough.
O(n log n)The Sweet SpotAs good as sorting honestly gets.
O(n²)The Handshake ProblemEveryone greets everyone. Fine at a dinner party, fatal at a stadium.
O(2ⁿ)The AvalancheOne more item, double the work.
O(n!)Don't.The universe ends before your function returns.
"Big O is a map of where cliffs are. You still have to look where you're walking."
// the author

Why this book exists

I'm Robert M. Cavezza — Bobby. I learned to code by shipping things, which means I also learned what happens when the things you ship meet real users. This is the book I wish someone had handed me then: no proofs, no whiteboard hazing, just a clear mental model of why code gets slow and what to do about it — small enough to read in two sittings and keep in your back pocket.

Stay in the loop

Occasional emails about the book and what I'm writing next. No spam.