3 ms·
I'm a big fan of Sedgewick's books myself. I like how he has parallel series of his books, for different programming languages. So you get "Algorithms in Java"
by mindcrime 5y ago
I'm a big fan of Sedgewick's books myself. I like how he has parallel series of his books, for different programming languages. So you get "Algorithms in Java" or "Algorithms in C++" or whatever, depending on your preference. I think he has at least C, C++, and Java versions.
https://www.cs.princeton.edu/~rs/ https://www.cs.princeton.edu/~rs/
- JeremyNT 5y agoDo you know if there's much difference between these beyond the language used? It seems like he's only updating the Java version these days, and that's what is used in the Coursera course. From what I can tell he's collapsed it down to just a java version entitled "Algorithms" that hit 4th edition in 2011. I'd rather have the exercises / examples in C but not if it means swimming upstream.
- mindcrime 5y agoIt's funny, I have each book of all three of the respective original series: Java, C, and C++. But I have never sat down and done a "side by side" comparison. And I've mostly worked through the Java version. I guess I had assumed that the contents were largely the same modulo language oriented variations, but I can't swear that that is the case. From what I can tell he's collapsed it down to just a java version entitled "Algorithms" that hit 4th edition in 2011. I never got around to picking that one up, so I don't really know anything about it.