Algorithms (2019)
jeffe.cs.illinois.edu
jeffe.cs.illinois.edu
Algorithms by Jeff Erickson - https://news.ycombinator.com/item?id=26074289 - Feb 2021 (152 comments)
Algorithms book, by Jeff Erickson - https://news.ycombinator.com/item?id=20733923 - Aug 2019 (13 comments)
Algorithms, by Jeff Erickson - https://news.ycombinator.com/item?id=18805624 - Jan 2019 (238 comments)
Algorithms, Etc. (2015) - https://news.ycombinator.com/item?id=16379236 - Feb 2018 (6 comments)
Algorithms Course Materials, by Jeff Erickson - https://news.ycombinator.com/item?id=3345041 - Dec 2011 (2 comments)
It's like going back to pre-google, but in a fun way.
Recurring threads on HN are not limited to textbooks / resources. They're also working as intended (I think?) -- if they're getting upvotes, it's because they are bringing value to people and new to a sufficient number of readers.
For a different treatment, get Tim Roughgarden’s book. Brilliant presentation.
Table of Contents
1. Recursion
2. Backtracking
3. Dynamic Programming
4. Greedy Algorithms
5. Basic Graph Algorithms
6. Depth-First Search
7. Minimum Spanning Trees
8. Shortest Paths
9. All-Pairs Shortest Paths
10. Maximum Flows & Minimum Cuts
11. Applications of Flows and Cuts
12. NP-Hardness
Each chapter has more detailed subsections in the full TOC, but this gives an overall outline.Most of my thinking time is at a higher (not deeper) level where it's mapping a problem to selected datastructures/algorithms and program design, putting the pieces together in a manageable way.
(a) Identify (or write) a song that requires Θ(n3) time to sing the first n verses.
(b) Identify (or write) a song that requires Θ(nlog n) time to sing the first n verses.
(c) Identify (or write) a song that requires some other weird amount of time to sing the first n verses.
Any ideas?
A better treatment is Tim Roughgarden. Not free, but not expensive either. Worth every penny and then some. (I learned of it from a HN commenter.)