What are the best books to learn algorithms?

Being a beginner, what are the best books to learn algorithms?

As a beginner who knows nothing about programming? There are none. You’re going to have to learn the basics of programming first, then you can learn basic algorithms. If you already know python then here’s the section on Algorithms in my book:


But if you know C then I recommend the book by Skiena on algorithms, and actually that’s probably the best book after you do my little basic algorithms section above.

I like his book because he pushes measurement and practicality when designing algorithms, but the whole book is in C, so it’s not as useful for beginners.

1 Like

Thanks for the help, Zed!