
Python Algorithms
by Magnus Lie Hetland · first published 2010
8mentions
4recommended by
8HN commenters
2011–2016first – last mentioned
50% recommend50% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.








Itching to buy Skiena's book for the practical examples (after perusing what amazon would show me of it)! Another very accessible algorithms book I highly recommend is: http://hetland.org/writing/python-algorithms/
on “Books every self-taught computer scientist should read” ↗Check these books: http://www.amazon.com/The-Algorithm-Design-Manual-ebook/dp/B... http://www.amazon.com/Programming-Pearls-2nd-Jon-Bentley/dp/... Prefer Python ? http://www.amazon.com/Python-Algorithms-Mastering-Language-E... http://www.amazon.com/Structures-Algorithms-Python-Michael-G...
on “Ask HN: Good book/resources on algorithms?” ↗…like you. I also have a CS degree, but after many years of doing web dev. I feel stupid. I have recently started buying books that teaches algorithmics in a more easy approach. I am currently reading "Python Algorithms: Mastering Basic Algorithms in the Python Language". I can't recommend it enough. Besides clearly explaining the basics, it helps you learn how to think about transforming naive solutions in to efficient…
on “I am a great programmer, but horrible algorithmist” ↗…the language of the imaginary CPU which it uses. Also, there are other simply excellent texts on Algorithms which I personally found much more useful than TAOCP (in decreasing order of "easiness") - Python Algorithms - The Algorithm Design Manual - CLRS - Algorithms in Java (somehow I found CLRS easier to follow than this) - And then I found this recently, "Algorithms on Strings,Trees and Sequences: Computer Science…
on “Books Programmers Don't Really Read (2008)” ↗…it's not a big deal and you can help yourself by writing up a cheatsheet or googling for one. Practice and muscle memory helps. I haven't had a chance to check it out but there is a PacktPub book on Python algorithms which looks interesting: "Python Algorithms: Mastering Basic Algorithms in the Python Language" by Magnus Lie Hetland Good luck!
on “I'm a cargo cult programmer, help me” ↗…but an understanding of data structures, algorithms, and object oriented programming could be considered important: http://www.amazon.com/Data-Structures-Algorithms-Using-Pytho... http://www.amazon.com/Python-Algorithms-Mastering-Language-E... http://www.amazon.com/Python-3-Object-Oriented-Programming/d... Although these and other intermediate to advanced topics tend to be covered better in non-language-specific books…
on “Ask HN: What are good books for advanced topics in Python? ” ↗…what do you do to fix it. That seems like a reasonable question, but most books that explain it feel much more theoretical/academic. What is the best practical guide to data structures. I have Hetland's Python Algorithms, and it's helping, but I'm looking for supplements, something where I can imagine that the person is explaining it to me over the phone (like one has to do during a screen etc). Thanks.
on “Ask HN: Data structures via plain, clear, practical-sounding explanations” ↗…model. Can people recommend resources to help? Ideally these would be resources that focus on learning algorithms (or data structures), not teaching you how to program. One person already recommended "Python Algorithms: Mastering Basic Algorithms in the Python Language", which looks good. "Data Structures and Algorithms Made Easy" also looks good but has mixed reviews. Are there other books? (Ideally not dry textbooks.) Free/inexpensive…
on “I am a great programmer, but horrible algorithmist” ↗