Introduction to Algorithms, 3rd Edition (MIT Press)

Author: Thomas H. Cormen
All Stack Overflow 54
This Year Reddit 59
This Month Reddit 10

About This Book

Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad range of algorithms in depth, yet makes their design and analysis accessible to all levels of readers. Each chapter is relatively self-contained and can be used as a unit of study. The algorithms are described in English and in a pseudocode designed to be readable by anyone who has done a little programming. The explanations have been kept elementary without sacrificing depth of coverage or mathematical rigor.

The first edition became a widely used text in universities worldwide as well as the standard reference for professionals.

The second edition featured new chapters on the role of algorithms, probabilistic analysis and randomized algorithms, and linear programming.

The third edition has been revised and updated throughout. It includes two completely new chapters, on van Emde Boas trees and multithreaded algorithms, substantial additions to the chapter on recurrence (now called "Divide-and-Conquer"), and an appendix on matrices. It features improved treatment of dynamic programming and greedy algorithms and a new notion of edge-based flow in the material on flow networks. Many new exercises and problems have been added for this edition. As of the third edition, this textbook is published exclusively by the MIT Press.

Introduction to Algorithms, 3rd Edition (MIT Press)


Review Date:


by CodeSheikh   2019-01-20
Nice list. Appreciate it. But I see there are a few amazing software books missing from the list such as:

- Clean Code (by "Uncle Bob")) []

- Design Patterns (by "Gang of 4") []

- Introduction to Algorithms (by "CLRS") []

by alphaglosined   2019-01-13

I would recommend not looking for C# specific books. Language specific books tend to get out-dated very fast and won't be as high of quality.

For this reason you want books like [ and [


I'm personally in the market for data structure books, sadly its a slippery slope when you already have a few.

by bautin   2019-01-13

Start here and I'm not joking.

It's a game about programming essentially. The first few levels will seem fairly cakewalk and they are, but the later levels can get tricky. Then there are the size and speed challenges for each level.

And I know it's not C++, but python is a good place to start.

Also, pick up Introduction to Algorithms . I don't know your situation monetarily. I see that you're 15.

by PixelizedPlayer   2019-01-13

Well i saw this :

But its a bit over kill and its not easy to understand some of the syntax since they use computer science type language that i also see in some papers when trying to understand shaders and thats also hard to read too.

Unless you have a good suggestion that covers the information thats accessible for those without CS knowledge?

by liveoneggs   2018-11-17
there are a few books you can get:

A lot of "classic" problems are so embedded into CS professors that they don't even see them as problems anymore (lazy caterer, pick's theorem, etc) so if you didn't study these classics explicitly in school you have to discover them on your own.

by balefrost   2018-11-10

It covers sorting, searching, graphs, and all the other staples of DS&A. It's not as in-depth as something like Introduction to Algorithms , but it covers pretty much everything that a college-level course would cover.

Also FYI, on Reddit, you can use /u/DifficultPassion to refer to a user (not @DifficultPassion).

by AgiIity   2018-11-10

Those are solutions to problems, I believe you can find a copy online for free but I’m not sure where. It’s definitely a nice book to have in your library though so I recommend buying it. Amazon

by tsims25   2018-11-10

Best book I’ve read on Algorithms

by rjcarr   2018-03-19

Doesn't the course offer a book? The professor might suck, but what about the textbook?

Otherwise, I think these two are the most commonly recommended algorithm books: