3 ms·
Another great resource I highly recommend: https://www.manning.com/books/grokking-algorithms https://www.manning.com/books/grokking-algorithms
by vga805 10y ago
Another great resource I highly recommend: https://www.manning.com/books/grokking-algorithms https://www.manning.com/books/grokking-algorithms
- bogomipz 10y agoI didn't care for this book. I found though the use "doodle drawings" for visualization to be hard to look at and distracting. The book felt half-finished to me. For instance how does an algorithms book not include anything on trees? I think a much better and free alternative is: http://interactivepython.org/runestone/static/pythonds/index.html http://interactivepython.org/runestone/static/pythonds/index...
- rapfaria 10y agoAbout the alternative, you can learn about algorithms but be prepared to not learn them in a pythonic way.
- bogomipz 10y agoI'm not sure I would say the book is "un-pythonic", but rather the book intentionally avoids overly language specific idioms in order to reduce algorithms to their most basic form. Once you have the basic knowledge its trivial to implement them in any language you want, using those language specific idioms - swaps without a temp variable or list comprehensions etc. It is not a "Python book" per se it is an algorithms book that uses Python to teach. I've seen many Algorithm book that use Java use a stripped-down back to basics procedural style as well I think for the same reason. The book also incorporate code lens and Python Tutor so you can step through your stack frames and pause execution. This is a wonderful teaching aide, especially for things like recursion. http://www.pythontutor.com/ http://www.pythontutor.com/
- chillaxdude 10y agoI'm currently referring this book to learn Python and Algorithms both in one go. Looks good so far. PS: I'm an experienced programmer (Perl).