What you need

The gear list

Free options first, then the cheapest way to buy the rest. The site itself is free forever.

Prices checked on , in US dollars. They move; treat them as rough. Legal sources only.

What it costs

FreeMost people start here

$0

  • Crafting InterpretersFree to read online$0
  • TAOCP Vols 1 to 4BBorrowed: library, O'Reilly, Libby$0
  • NeetCode 150neetcode.io and LeetCode free$0
  • Play track gamesOptional: skip them, or buy as you go$0 to $181

CheapUsed books, games on sale

About $285 to $400

  • Crafting InterpretersFree to read online$0
  • TAOCP Vols 1 to 3Used older editions$30 to $90
  • TAOCP Vols 4A and 4BNew, $63.99 each$128
  • Play track gamesBought on sale$125 to $181

Everything newEvery book and game, new

About $640 to $855

  • Crafting InterpretersIn print$40 to $60
  • TAOCP boxed setNew, Vols 1 to 4B$260
  • Play track gamesAll ten at full price$181
  • LeetCode PremiumOne year$159

For perspective: even the everything-new path costs less than a single university course, and a small fraction of a coding bootcamp, which commonly run $10,000 or more. Spread over the nearly three years of the path at full pace, the cheap path works out to about $9 to $12 a month. None of the paid stuff is required, and the books you buy are ones people keep on their shelf for life. If you care about how computers actually work, it is very good value.

What you need

TAOCP Vol 1: Fundamental Algorithms (3rd edition)

Free

Cheapest to buy

  • AbeBooks (used) $7 to $25Older editions are fine and cheaper. The 2nd edition (1973) often sells for under $10 to $25 used; section numbers are almost the same. The 3rd edition (1997) is what the guides follow.
  • ThriftBooks (used) variesCompare with AbeBooks; prices move a lot.
  • eBay (used) variesCompare with AbeBooks; prices move a lot.
  • InformIT, new hardcover (publisher's store) $63.99 (list $79.99)InformIT often runs sitewide discounts; check the deals page before buying.
  • InformIT, eBook (get the PDF) $61.59 (list $76.99)If you buy the eBook, choose the PDF. Knuth says on his site that the Kindle and ePUB versions mangle the math, and the authorized PDFs are sold through InformIT.
  • InformIT, book + eBook bundle $90.94 (list $156.98)Only worth it if you really want both formats.
  • Amazon, new varies, usually near listFine, but check InformIT first. Avoid the Kindle edition.

TAOCP Vol 2: Seminumerical Algorithms (3rd edition)

Free

Cheapest to buy

TAOCP Vol 3: Sorting and Searching (2nd edition)

Free

Cheapest to buy

TAOCP Vol 4A: Combinatorial Algorithms, Part 1

Free

Cheapest to buy

  • AbeBooks (used) often $40 to $65Published 2011, so used copies are not dramatically cheaper. The paperback Volume 4 Fascicles 0 to 4 hold earlier drafts of the same material and sometimes turn up cheap used.
  • ThriftBooks (used) variesCompare with AbeBooks; prices move a lot.
  • eBay (used) variesCompare with AbeBooks; prices move a lot.
  • InformIT, new hardcover (publisher's store) $63.99 (list $79.99)InformIT often runs sitewide discounts; check the deals page before buying.
  • InformIT, eBook (get the PDF) $61.59 (list $76.99)If you buy the eBook, choose the PDF. Knuth says on his site that the Kindle and ePUB versions mangle the math, and the authorized PDFs are sold through InformIT.
  • InformIT, book + eBook bundle $90.94 (list $156.98)Only worth it if you really want both formats.
  • Amazon, new varies, usually near listFine, but check InformIT first. Avoid the Kindle edition.

TAOCP Vol 4B: Combinatorial Algorithms, Part 2

Free

Cheapest to buy

  • AbeBooks (used) about the same as newPublished 2022; used copies currently cost about the same as new (one used listing was about $76 when checked). Buy new from InformIT unless you find a deal. Fascicles 5 and 6 are earlier drafts of the same material.
  • ThriftBooks (used) variesCompare with AbeBooks; prices move a lot.
  • eBay (used) variesCompare with AbeBooks; prices move a lot.
  • InformIT, new hardcover (publisher's store) $63.99 (list $79.99)InformIT often runs sitewide discounts; check the deals page before buying.
  • InformIT, eBook (get the PDF) $61.59 (list $76.99)If you buy the eBook, choose the PDF. Knuth says on his site that the Kindle and ePUB versions mangle the math, and the authorized PDFs are sold through InformIT.
  • InformIT, book + eBook bundle $90.94 (list $156.98)Only worth it if you really want both formats.
  • Amazon, new varies, usually near listFine, but check InformIT first. Avoid the Kindle edition.

NeetCode 150

Free

Cheapest to buy

  • NeetCode Pro, 1 year $119 per year (sales have gone much lower)Optional. Extra courses and problems. Not needed for the NeetCode 150.
  • NeetCode Pro, lifetime $297 one-timeOptional. Only if you plan to use the extra courses for years. Check the refund policy first.

LeetCode

Free

Cheapest to buy

  • LeetCode Premium, monthly about $35 per monthOptional. Adds premium problems, company tags, the debugger and editorial solutions. Not needed: the 7 NeetCode 150 problems that are Premium-only on LeetCode (Encode and Decode Strings, Walls and Gates, Graph Valid Tree, Number of Connected Components in an Undirected Graph, Alien Dictionary, Meeting Rooms, Meeting Rooms II) are free on neetcode.io.
  • LeetCode Premium, yearly about $159 per yearOptional. Worth it mainly if you are actively interviewing and want company-tagged problems.

Optional extras

Nice to have. Nothing on the path needs them.

TAOCP Vols 1 to 4B boxed set

Free

Cheapest to buy

  • InformIT boxed set $259.99 (list $324.99)Cheapest way to get all five new at once (vs $319.95 for five single volumes at InformIT). Only makes sense if you know you want them all on your shelf.
  • Amazon boxed set variesCompare with InformIT.
  • AbeBooks (used) variesUsed boxed sets are rare and rarely much cheaper.
  • ThriftBooks (used) variesUsed boxed sets are rare and rarely much cheaper.
  • eBay (used) variesUsed boxed sets are rare and rarely much cheaper.

Knuth's free downloads (fascicle drafts and errata)

Free

Play track: the Zachtronics games

Cheapest to buy

You only need TIS-100 at the start; the next game is a couple of months away and most are a year or more away, so there is time to wait for a sale. Steam's seasonal sales (spring, late June, late November, late December) are when these usually get discounted. The manuals that come with the games are part of the fun: read them like real datasheets.

Play track: Factorio (week 79)

Free

  • Factorio demoFree, from the official site. Enough to see whether it clicks; the full game is needed to launch a rocket.

Cheapest to buy

Factorio never goes on sale: the developers have said for years they will not discount it, not in a Steam sale and not in a bundle, so there is no reason to wait. The Space Age expansion ($35) is not needed: launching a rocket in the base game is the checkpoint.