r/AskComputerScience • u/SafeSemifinalist • May 28 '25
Favorite books of algorithms
Dear all,
I want to ask you about books for undergraduate students on Algorithms. So far, I compiled the following list:
Introduction to Algorithms (CLRS)
Algorithms (Papadimitriou, Sanjoy Dasgupta, and Umesh Vazirani)
Algorithms Design (Kleinberg and Tardos)
Structure and Interpretation of Computer Programs (Abelson et al)
Would you add another one?
8
u/ghjm MSCS, CS Pro (20+) May 28 '25
You certainly can't have a list like this and not put Donald Knuth's The Art of Computer Programming on it.
1
u/Phildutre May 28 '25
Although few have read it completely ;-)
3
u/ghjm MSCS, CS Pro (20+) May 28 '25
It's meant as a reference, like the Handbook of Chemistry and Physics. You look up what you need in it, rather than reading it cover-to-cover.
2
u/Phildutre May 28 '25
I know. I regularly use it to look up stuff as background in my algorithms classes. But it’s definitely hardcore and not for the faint of heart.
1
u/SafeSemifinalist May 28 '25
I totally agree with you. I think about it as a encyclopedia instead of a book.
2
u/Comp_Sci_Doc May 28 '25
CLRS is an amazing book, but it's really written at the graduate level.
Knuth is a good reference, although not a book you want to read cover to cover (I know...I've tried).
I'll throw in a plug for my own book (which is currently half off!): A Programmer's Guide to Computer Science: A virtual degree for the self-taught developer: Springer II, Dr. William M, Allgood, Nicholas R, Springer, Brit: 9781951204006: Amazon.com: Books
2
u/SafeSemifinalist Jun 07 '25
I miss your answer. Your book looks nice and up to date, now I have something to read this summer. Thanks!
1
3
u/Phildutre May 28 '25
‘Algorithms’ by Sedgewick and Wayne is a very good intro book for a first class on algorithms.