377 points · by kkwteh · 4y ago · 50 comments
His profile: https://academia.stackexchange.com/users/65/jeffe
—- 1463 points|4 years ago|238 comments
https://news.ycombinator.com/item?id=18805624
—- 595 points|1 year ago|152 comments
https://news.ycombinator.com/item?id=26074289
________________________
* All other prior posts:
https://hn.algolia.com/?q=http%3A%2F%2Fjeffe.cs.illinois.edu...
1. A Common-Sense Guide to Data Structure and Algorithms from PragProg Bookshelf. Written in a very approachable manner with very good code. The best for self-learners.
2. Algorithms by Dasgupta, Papadimitriou, Vazirani (DPV). Very short and concise book- extremely well-written with a personality. Requires basic CS math.
3. Algorithm Design Manual by Skeina. Extremely approachable as well. Has 'battle stories' of algorithm usage. Good for self-learners. Links to problems in Leetcode is given.
4. CLRS is of course nice for a mathematically rigorous study.
My book grew out of lecture notes that I wrote for my algorithms classes at Illinois. My students are almost exclusively juniors and seniors. In particular, they already have several semesters of programming experience, a full semester of discrete math, and a full semester of data structures (which includes things like sorting and searching and the basics of algorithm analysis). They are the audience I wrote the book for.
Equivalently, I have very little experience teaching those prerequisite classes, which makes me the wrong person to write a textbook about that more foundational material!
At a more basic level: Different people are going to find different sources more or less useful. Different authors are better matches for different readers' backgrounds, intuition, and needs. My book ain't gonna work for everyone, because no single book works for everyone.
I'm not familiar with Common Sense Guide — thanks for the suggestion! — but the other books listed above are all fantastic (for different reasons, and for different audiences).
It would really help me with many questions that I have.
Thanks.
> I have the lowest undergraduate GPA (2.4/4.0) of any professor I've ever met
with reference to https://3dpancakes.typepad.com/ernie/2005/03/re_phd_with_low....
> I discovered (or remembered) that I was more interested in doing things RIGHT than doing them NOW, which is bad news in the software industry; this wasn't the place for me.
algorithms.wtf
His illinois.edu page is the second hit for me for "algorithms wtf" in DuckDuckGo and the first hit in Google. There is a non-zero probability that I would find his book by searching for that.
Edit: Sorry if this came across as disrespectful. I don't think that a SEO hack in this case is bad. If you put your care and attention into writing and revising a 472-page textbook, you want people to find it. There's nothing wrong with that.
If I had to pick between say algorithms.me and algorithms.wtf, I'd definitely go with the second one, especially because students like me will remember it for life.
"Oh you're looking for an algorithms textbook, have you tried..."
On top of that, 374 only uses about half this textbook in conjunction with other notes about topics not covered in this book (mostly models of computation). The rest of the material in this textbook is used in 473, the elective advanced algorithms course.
That’s not to say that your experience isn’t valid, but within the context it is primarily used in, it’s a very good additional resource to lecture content, which is more than can be said of most textbooks
There really needs to be a text that captures the middle ground between CLRS and Grokking Algorithms and I guess this isn’t it.
[1] https://mfleck.cs.illinois.edu/building-blocks/updates-fa201...
And now you’re carrying on the tradition.
For getting me through the tests, I did end up using more traditional books. However, now, several years past academia, I find this style very engaging and delightful to read.
Yep. That's intentional.
If you try to gulp this subject down quickly, you're much more likely to choke.
Which one helped you learn?
It sounds like think so because it’s it’s what you’ve become accustomed to without questioning.