Hacker News new | ask | show | jobs
by D3lt4 3396 days ago
Is there something similar that's language agnostic or in Python?
3 comments

Well there is one of the best books on the subject.

"Introduction to Algorithms"

https://www.amazon.com/Introduction-Algorithms-Thomas-H-Corm...

"The Algorithm Design Manual", by Steven Skiena, is very readable and it's generously free to download. I was going to post the link, but I couldn't unmangle it from Google. It's easy to find.
This looks like it: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.471....

I don't see any links to it from any of Skiena's or the publisher's webpages, so it's not clear how legitimate it is.

Incidentally, I wouldn't really suggest Skiena as an alternative to Cormen et al; they're extremely different in style and content, and in situations where you need one of them the other probably won't help you. I recommend getting both. (For more verbosity on this, see my review of the first edition of Skiena's book at https://www.mccaughan.org.uk/g/books/alg-design.html .)

CLR is information-dense and authoritative. I have a copy from my college algorithms course and I refer to it occasionally. Skiena is a lighter read, so, I figure, you're more likely to actually read it. Whatever algorithms text you read, you will want to continue to augment your knowledge if you're going to confidently adapt and engineer algorithms.

I agree with you. Get both.

http://interactivepython.org/runestone/static/pythonds/index...

It's free. It doesn't have the formalism of CLRS which some might not like but its still a great practical resource if you want Python.

Sure there is, but I doubt you'll be able to get the same performance as C++ without doing heavy optimization.
I don't think the question had anything to do with speed.

To answer the question, there are many general books on algorithm design that would be appropriate for any language.