Algorithms Illuminated Omnibus Edition (September 2022)

Big news: Parts 1-4 of Algorithms Illuminated are now available in a single volume.
Official blurb: In Algorithms Illuminated, Tim Roughgarden teaches the basics of algorithms in the most accessible way imaginable. This Omnibus Edition contains the complete text of Parts 1-4, with thorough coverage of asymptotic analysis, graph search and shortest paths, data structures, divide-and-conquer algorithms, greedy algorithms, dynamic programming, and NP-hard problems. Hundreds of worked examples, quizzes, and exercises, plus comprehensive online videos, help readers become better programmers; sharpen their analytical skills; learn to think algorithmically; acquire literacy with computer science's greatest hits; and ace their technical interviews.

Videos and additional resources: (Click on one of the following topics to expand.)

Editorial reviews:
  • "Algorithms Illuminated is academic gold for both students and instructors. The most incredible thing about this book is the way it reaches different types of learners. Beginning students love the approach of getting exposed to complex material slowly and methodically, with lots of intuition and illustrations; advanced students can focus their energy on the formal treatment, going back to the intuition as needed. I love this book because it makes very difficult concepts accessible to everyone." Thomas Cook, US Military Academy at West Point

  • "In my experience, students find Algorithms Illuminated much more relatable and motivating to read than other algorithms books. The presentation style is very modern and honest: complicated ideas are broken into digestible chunks with the explicit recognition that the reader is indeed facing deep content; pseudocode, proofs, and mathematical techniques are presented truthfully without hiding "technical/boring" details; and every problem is well-motivated with the actual reasons that computer scientists care about it. The reader gets the feeling that the book is talking directly to them and inviting them to be part of the story, not just a guest who looks at the highlights and moves on." Saray Shai, Wesleyan College

  • "This fabulous book is an ideal introduction to the design and analysis of algorithms. Algorithms Illuminated stands out for its accessible and readable style, with plenty of examples, quizzes and problems for students to check their understanding. The clarity of the exposition brings out the beautiful ideas at the core of the subject. I highly recommend Algorithms Illuminated to anyone starting out with algorithms!" Mary Wootters, Stanford University

  • "Tim Roughgarden's Algorithms Illuminated is a well-crafted, thorough, and engaging presentation of algorithms on a wide range of topics. The chapters on NP-hard problems are particularly remarkable, as they overturn the conventional wisdom that this topic is too hard for students to understand. I have found that my students really benefit from this approach and strongly recommend these books to others." Avraham Leff, Yeshiva College

  • "Look through the Table of Contents and you might conclude that this is just another algorithms book. Don't be fooled. What makes this book special – what makes this book the first of its kind – is Tim Roughgarden's singular ability to weave algorithm design with pedagogical design. Learners need opportunities to check their understanding at key points, to study examples, to see algorithms in contexts that they care about, to confront the needed mathematical background buffered by these motivating contexts. It's all here, carried along by Roughgarden's enthusiasm not only for algorithms but also for the people who want to learn them." Daniel Zingaro, University of Toronto

Stay updated: Sign up for occasional email announcements about Algorithms Illuminated, or follow Tim_Roughgarden on Twitter.

Algorithms Illuminated, Parts 1-4 (also available separately)


Algorithms Illuminated is a DIY book series by Tim Roughgarden, inspired by online courses that are currently running on the Coursera and EdX (Part 1/Part 2) platforms. There are four volumes (now also available together in a hardcover omnibus edition, see above):

TOCs and sample sections: Part 1; Part 2; Part 3; Part 4.

Ordering info for individual parts: Bookstores can order copies through Ingram. Individuals can order copies through Amazon (see above for links to the US site, also available through the,, .de, .fr, .it, and .es markets with only local shipping charges). For readers in India, I recommend

Exam copies: Instructors, book reviewers, and foreign publishers/translators can request an exam copy by contacting the publisher at

Translations: Chinese (Posts & Telecom Press), Korean (Insight Publishing), Russian (Piter Publishing), Spanish (OJ Books).