It鈥檚 a rare textbook that has sold over a million copies, has a Twitter account, has , and even made a cameo appearance in a popular Chinese soap opera.
That distinction belongs to the best-selling Introduction to Algorithms, co-authored by Dartmouth鈥檚 , professor emeritus of computer science. The book鈥檚 will hit the shelves today.
Algorithms are a recipe for problem-solving. In computation, an algorithm is often defined as a procedure that takes one or more inputs and provides an output鈥攁 solution to a well-defined problem. Today, algorithms are everywhere; they run everyday appliances and make recommendations on everything from which shows to binge-watch to what routes to take to beat traffic.
Cormen鈥檚 book covers a broad range of algorithms鈥攆rom the basics of how to compute time taken by different computational methods, to different strategies for sorting data efficiently, and topics in the field of number theory.
鈥淚 think of Tom鈥檚 famous Algorithms book as the Encyclopedia Galactica of problem-solving in computer science,鈥 says Devin Balkcom, chair and professor of computer science. 鈥淲ithin any challenging new question, a computer scientist seeks to identify a central problem that can be formally stated, analyzed, and perhaps solved. Tom鈥檚 book is a treasure of computer science: gems of algorithms that solve common problems, together with a deep analysis and understanding of the strengths and limitations of those algorithms.鈥
Cormen was a graduate student at the Massachusetts Institute of Technology when he wrote and published the first edition with co-authors and MIT professors Charles Leiserson and Ronald L. Rivest. The core of the book came from lecture notes created by Cormen, who was a teaching assistant for Leiserson鈥檚 undergraduate algorithms class. Clifford Stein of Columbia University was added as a fourth author in the second edition.

Popularly known by the abbreviation CLRS (referring to the authors鈥 last names), the book has been widely regarded as an important reference text for over 30 years.
鈥淢y current algorithms students are always impressed to hear that I learned the topic myself from the 鈥楥鈥 in CLRS,鈥 says Calvin Newport 鈥04, who took Cormen鈥檚 introductory computer science course in the fall of 2000 and is now an associate professor of computer science at Georgetown University.
鈥淢y approach to teaching algorithms is heavily influenced by the textbook,鈥 adds Newport, who assigns it to his students and uses the same general trajectory, and many of the same specific examples, that the book deploys.
The new edition comes 13 years after the previous one鈥攖he longest gap between editions so far. Cormen said counting translations, more than 1 million copies of the textbook have been sold over the years.
鈥淲ith time, we find there鈥檚 material that people are not teaching from the previous editions,鈥 says Cormen. 鈥淪o those are good candidates for removing so that we have space to add new material that we think people will want to either teach or learn.鈥
The authors also seek to freshen the problems and exercises and improve the exposition. 鈥淥ver time, we think about how to write better and how to make concepts clearer,鈥 he says.
There are three new chapters: one on a concept in graph theory called bipartite matching, another on online algorithms, where not all the data is available when the problem-solving proces begins. The third new chapter is on algorithms for machine learning, a subset of artificial intelligence. According to Cormen, this chapter 鈥渋s the one people are going to be pretty excited about.鈥
Revisions are not limited to the technical content. Cormen credits his 4-year stint as the first director of the for a shift away from a more formal style after the second edition. In the fourth edition, the writing is a little more personal, he says.
The authors have also removed gendered language this time around. A well-known problem historically called the 鈥渢raveling salesman problem鈥 is now the 鈥渢raveling salesperson problem.鈥
鈥淐omputing is a sufficiently new field that it evolves much more rapidly than, say, calculus,鈥 says Doug McIlroy, adjunct professor of computer science. Reflecting that rapid evolution, the newer editions of Cormen鈥檚 book are 鈥渘ot the same book that it was a generation ago,鈥 he says. McIlroy has a particular fondness for the book鈥檚 compelling diagrams. 鈥淓ven though I鈥檝e been in the field before it formally became computer science, I have learned things from this book,鈥 he says.
Great co-authors who bring different strengths to the table, and an excellent copy editor鈥攊n this case Julie Sussman鈥攁re some ingredients of the secret sauce that have made the book a success, says Cormen, who
He cautions against embarking on a book project during a PhD, however. 鈥淚 was lucky because this book turned out to be very successful,鈥 he says.
The impact of the book on the field of computer science鈥攁nd more broadly on the computing industry鈥攃annot be understated, says Provost David Kotz 鈥86, the Pat and John Rosenwald 天美影视 in Computer Science.
鈥淕enerations of students have learned the fundamentals from this book,鈥 he says. 鈥淧eople who work in industry (and not just Dartmouth alums) tell me they keep this book handy on their shelves while they code the next generation of computing systems we all will use and enjoy.鈥