Top Algorithm Design Book Recommendations for Non-CS Programmers

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 5K views
ice109
Messages
1,708
Reaction score
6
can someone recommend a good algorithm design book? like the end all be all of algo design? so that i don't have to read anything else cause I'm not a cs major just someone who wants to be decent at programming
 
Physics news on Phys.org
It depends on what you want to do. Carmen or Robert Sedgewick are what you get in an Algorithms class at University.

Do you code for food now? If so, you need to read, starting now, keep on until you die.
Start with 'Art of Programming' by Knuth. If you just want a more nearly cookbook approach Knuth is not for you. Consider Carmen or Robert Sedgewick (two books). If you are into doing maths, consider Numerical Recipes in C.

The problem is that you cannot predict what you employer will want 5 years from now. It's nice to say, "yes, I've seen that and can do basic things with <fill in the blank>".
It's known as being indespensible.
 
don't code for money yet. something more theoretical would be nice, i know knuth invented tex so i trust his book will be decent so i'll check that out.

wait assembly? do i need to know assembly to be able to read this book?
 
Last edited:
Not really - go to a library and check out volume 1. See if you can read it.
Tex is based on the concept of Metafont - which is the basis for truetype fonts for example.
 
ice109 said:
wait assembly? do i need to know assembly to be able to read this book?
You can't really understand how a computer program works without understanding assembler.
TAOCP is written using an assembly language for an imaginary processor which only exists for examples in the book. The new edition uses a new RISC imaginary processor.
That's the good news, the bad news is that if you think the idea of examples in an imaginary assembly language is complicated - wait until you see what the book actaully covers using it !