Re:Ask HN: What's the best computer science book you've read...
by amai on Monday January 16, 2017 @10:32AM
(#13410477)
This book is highly overrated. Algorithms by Sedgewick (http://algs4.cs.princeton.edu/home/) is a much better book for learning and understanding algorithms. Skienas book is a simple collection of (sometimes very exotic) algorithms. It won't teach you anything, it will only tell you what exists.
Re:Ask HN: What's the best computer science book you've read...
by amai on Monday January 16, 2017 @10:44AM
(#13410567)
The book of Sedgewick is based on his lectures http://www.cs.princeton.edu/courses/archive/fall12/cos226/le... .
Here you will also find a important chapter that unfortunately didn't make it into the book:
https://www.cs.princeton.edu/courses/archive/fall12/cos226/l...
Re:Ask HN: What's the best computer science book you've read...
by bogomipz on Tuesday January 17, 2017 @01:32AM
(#13415598)
I'm glad to hear someone else say that because the book seems to get high marks and recommendations but I didn't care for it at all. I thought it was just me. I just don't think he has a very engaging writing style.
The second half of the book is "the catalog" of algorithms and I guess maybe that's what people like but the I had so few "a ha" moments reading the book that I got to page 130 before I threw i the towel.
Re:Ask HN: What's the best computer science book you've read...
by denzil_correa on Monday January 16, 2017 @10:33AM
(#13410485)
> Skienas book is a simple collection of (sometimes very exotic) algorithms
It has the same material as Sedgewick, doesn't it?
Re:Ask HN: What's the best computer science book you've read...
by amai on Monday January 16, 2017 @11:05AM
(#13410713)
No, I believe there are more algorithms listed in Skienas book. But from Skienas book you will barely understand them and it won't teach you how to really implement them. Sedgewicks book is much better in that respect. One can compile and run the given Java examples and actually play around with them. Skienas book is a good reference for postdocs in algorithmic design. Sedgewicks book on the other hand is for people who actually want to implement these algorithms.
Re:Ask HN: What's the best computer science book you've read...
by mgrouchy on Sunday January 15, 2017 @09:25PM
(#13407865)
This is a great book. I love the approach, it really helps with one of the main problems with using algorithms or design patterns even and that is problem identification. There are a bunch of problems that are way easier to solve if you recognize the solution exists in dynamic programming for example, but if you don't they become very hard.
Re:Ask HN: What's the best computer science book you've read...
by eternalcode on Sunday January 15, 2017 @11:15PM
(#13408160)
Such a nice book. My personal preference is to use CLRS for reference and Skiena for people want a quick introduction to algorithms.
Re:Ask HN: What's the best computer science book you've read...
by Apocryphon on Monday January 16, 2017 @02:53PM
(#13412449)
It's kinda hilarious in that. CLRS is the gold standard recommended introductory text for algorithms, but it's so dense and over-stuffed that it's overkill, so better for reference. Skiena has a lot of stuff you don't need, but is comparably more succinct and light to read.
Re:Ask HN: What's the best computer science book you've read...
by resist_futility on Sunday January 15, 2017 @10:50PM
(#13408091)
The book definitely reaches a good balance that other algorithms books don't have. It makes you want to keep reading.
Re:Ask HN: What's the best computer science book you've read...
by abglassman on Monday January 16, 2017 @10:17AM
(#13410396)
I love this book for how approachable, readable, and even enjoyable it is. Skiena does a great job of motivating each of the algorithmic techniques. I recommend this one widely.
Re:Ask HN: What's the best computer science book you've read...
by dominotw on Monday January 16, 2017 @09:46AM
(#13410215)
prepping for google interview?
Re:Ask HN: What's the best computer science book you've read...
by HeavyStorm on Monday January 16, 2017 @06:18PM
(#13413919)
Google's moto is Data Beats Algorithm. Don't forget that :)
Each section contains a story of some situation he was in where he faced a problem which he solved by applying one of various algo techniques (DP, divide and conquer, etc.). After reading CLRS for a class, it was nice to see how some of the most common textbook algorithms have been applied by a notable computer scientist.