Ask HN: Good book/resources on algorithms?
Recently I realized that my knowledge about algorithms are almost nonexistent, a fact that made me want to change this but I'm having some difficulties finding good resources to guide me in the right direction.
Have any advice/links/books?
(I'm asking here and not elsewhere as I already received some very good directions on one of my past, somewhat related, question)
11 comments
[ 3.6 ms ] story [ 35.3 ms ] threadWhatever the answer, check out Numerical Recipes (http://www.nr.com/).
http://apps.nrbook.com/rollover/index.html
http://en.wikipedia.org/wiki/Merge_sort
http://en.wikipedia.org/wiki/Heapsort
http://en.wikipedia.org/wiki/Quicksort
Introduction to Algorithms by Cormen
I started out with Algorithms by Tardos (you can pretty easily find a copy of the book and solutions online somewhere). It is less terse and goes through all the basics in a much less formal format. In this book I would advise starting at chapter 1 and going straight through to 8 or 9, doing the exercises and programming up most of the algorithms on your way. At this point you'll have a really nice working knowledge and can dive into Cormen and tackle stuff that interests you.
http://www.amazon.com/The-Algorithm-Design-Manual-ebook/dp/B...
http://www.amazon.com/Programming-Pearls-2nd-Jon-Bentley/dp/...
Prefer Python ?
http://www.amazon.com/Python-Algorithms-Mastering-Language-E...
http://www.amazon.com/Structures-Algorithms-Python-Michael-G...
https://www.coursera.org/course/algs4partI
I'm sure there are plenty of other online algorithms courses online too.