r/AskProgramming • • Oct 02 '26

Is this book worth learning slowly over time?

Introduction to Algorithms, Fourth Edition by Thomas H. Cormen

4 Upvotes

11 comments sorted by

3

u/mc_pm Oct 02 '26

Yes, it is absolutely good to have a book or two that you glance through, read a chapter at a time, come back to over time. Algorithms are tools for solving different types of problems, and just knowing that they exist is a big first step to actually using one. So definitely, get a copy -- even an older edition, it hardly matters for 99% of what you are doing -- and keep it on the coffee table or in the bathroom or wherever you get a chance to read a little at a time.

1

u/flyby_apis Oct 02 '26

Algorithm books age well, so old editions are fine ;)

2

u/salazka Oct 04 '26

I would normally say 'absolutely yes'.

But not today. At least not if you are thinking of this from a practical point.
AI is making all these books irrelevant.
It is a nice relic if you are into these things.

If you just want to enjoy reading and playing around with math in your head, then go ahead.

2

u/Advanced_Couple_3488 Oct 02 '26

Why not go straight for Knuth?

2

u/marrsd Oct 02 '26

Knuth is very heavy. Depends on OP's experience and comfort with maths. Some context from OP would have been nice. We're not mind readers on here

2

u/mc_pm Oct 02 '26

Worst bit of advice I've seen today, even for Reddit.

1

u/ajamdonut Oct 02 '26

If you own the book, yea, if you like the idea of owning the book and doing that, then yea. I buy books around math etc for geometry rather than straight generic collection of algorithms