3 ms·
Is there something similar that's language agnostic or in Python?
by D3lt4 10y ago
Is there something similar that's language agnostic or in Python?
- uuuuuuuuuuuu 10y agoSure there is, but I doubt you'll be able to get the same performance as C++ without doing heavy optimization.
- hellofunk 10y agoI 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.
- pjmlp 10y agoWell there is one of the best books on the subject. "Introduction to Algorithms" https://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen-ebook/dp/B007CNRCAO/ref=mt_kindle?_encoding=UTF8&me= https://www.amazon.com/Introduction-Algorithms-Thomas-H-Corm...
- mtdewcmu 10y ago"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.
- gjm11 10y agoThis looks like it: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.471.4772 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 https://www.mccaughan.org.uk/g/books/alg-design.html .)
- mtdewcmu 10y agoCLR 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.
- Shorkaa 10y agoI always quite liked http://rosettacode.org/wiki/Category:Programming_Tasks http://rosettacode.org/wiki/Category:Programming_Tasks
- roel_v 10y agohttp://lmgtfy.com/?q=algorithms+book http://lmgtfy.com/?q=algorithms+book
- bogomipz 10y agohttp://interactivepython.org/runestone/static/pythonds/index.html 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.