Algorithms book recommendations

Status
Not open for further replies.

afrosteve

Wise, Aged Ars Veteran
129
I've recently started a new job where I'm realizing my grasp of algorithm design and analysis isn't what it should be. So I'm looking for a good algorithms book to learn what I missed or forgot in algorithms class.

So far I've found this book called Introduction to Algorithms which seems to get pretty high reader reviews on Amazon and Fatbrain.

Any other favorites?
 
I have both Knuth (all 3) and CLRS, and I must say both are excellent algorithms books. I think CLRS might be a little more beginner friendly though. If you need a book that's free you could always grab the online edition of Numerical Recipes in C. While more practical than theoretical, it still provides good mathematical background on all of the algorithms.
 

Watcherq

Ars Scholae Palatinae
1,340
Like phridge, I too have all four books (except that my CLRS is ver 1 :)). They are awesome, but they really require a foundation in discrete maths before you dive into it. Furthermore, the maths can get a little heavy if you just want to implement an algorithm, rather than fully understand the proof of it.

There are the various "Algorithms" by Robert Sedgewick. They rehash the same stuff but implemented in various different languages like Pascal, C++ and Java. This is a more of a cookbook rather than to teach about algos so, YMMV.
 

Tristram

Ars Scholae Palatinae
1,428
Subscriptor
The Cormen book is quite good for a general purpose reference. I used it in Grad school. I still read parts of it for fun (hell yes I am geek) Understanding recurrances is mandatory for following the analysis portion.

Concrete Math by Knuth is freaking awesome and it will greatly help with understanding the math in Cormen.

The Numeric Recipes (Numeric Recipes in C++) books are good for scientiific algorthms.

Matric Computations by Golub and van Loan is really good for linear algebra algorithms.

The Red Addison Wesley C++ Books are really good (Accelerated C++, Modern C++ Design, Boost Graph Libraries, Network Programming with C++, Exceptional C++, More Exceptional C++, etc.), but they are much more focused on a particular language and problem domain.

You know what I want is a discussion of how to choose the right algorithm and how to customize the data stuctures to be useful.
 
IMHO "introduction to alg..." is a bit of a understatement. They have most in it that you could want. I mean, if you want more complex algorithms you're probably better off trying to search academic papers on the subject at hand. Or get a book specialized on the specific topic for the algorithm you're looking for.

It's a great book ("Introd...") but it is quite complex. The biggest lack is that there are no solutions to the examples in the book. And that makes it quite hard to use if you're learning on your own.

But as a reference it's a "must-have".
 
Status
Not open for further replies.