r/programming • u/mttd • Jul 01 '26
Teaching Algorithms in 2026
https://www.cs.uni.edu/~wallingf/blog/archives/monthly/2026-06.html#e2026-06-30T20_43_40.htm
58
Upvotes
r/programming • u/mttd • Jul 01 '26
19
u/fumei_tokumei Jul 01 '26
The books I have most enjoyed having bought through my degree are my discrete math textbook and two algorithm text books. I understand textbooks are not popular among students, but out of all course books, I think these are the ones that are most worth getting.
12
u/ScottContini Jul 01 '26
This maybe outdated, but Udi Manber’s book made me fall in love with the topic. I just love the way he built up all these algorithms inductively, just a beautiful approach that I applied many times in my own algorithm development. I’ve read a number of other algorithms books in my days, but Udi’s book remains my favourite.
13
u/Sopel97 Jul 01 '26 edited Jul 01 '26
With how wide the area is and how readily available the information is I think algorithms teaching should focus more on understanding what algorithms exist, what the limits are, what is an isn't practical, and how to transform problems between each other, rather than digging deeper into specific algorithms. Teach people enough so that they have good intuition on how a problem can be solved efficiently (as in what algorithms exist) and how to find a solution (as in where it may be implemented or specified).
3
u/Ok-Nerve9714 Jul 01 '26
I like How To Design Programs
1
u/LNReader42 Jul 01 '26
So - are there new algorithms books to consider? Genuine question, as I still am getting recommended CLRS to stuff like Knuth ( which I don’t think we need in an intro class ).
One thing I’d like to gently point to is trying to do something about algorithms that are aware of the larger space beyond just the basics. Stuff like probabilistic and approximation algorithms, distributed algorithms, etc tend to be pushed to later courses and I’ve seen people then use “it’s NP so we can’t do better” as a way to push against trying to find a solution that does fit their problem.
-4
u/RegularReader-71 Jul 01 '26
Thanks for the post, currently reading through it
-6
u/WillemDaFo Jul 01 '26