Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Python algorithms : mastering basic algorithms in the Python language (2nd ed.)
Hetland M., Apress, New York, NY, 2014. 320 pp. Type: Book (978-1-484200-56-8)
Date Reviewed: May 5 2015

There are many books on Python. They usually go into language specifics or into very basic programming from a beginner’s point of view. This book is very computer science (CS) algorithm-specific, describing the algorithms in an awesome way. Depending on how you look at it, the book can be either a Python programming book or an algorithm book.

The algorithm aspects are explained in a very nice way, including how to fine-tune them and design new variants. Some of the topics touching on algorithms covered in the book include induction and recursion, traversal algorithms, divide and conquer, NP and non NP, and graph problems. Lot of diagrams and figures are included, which aid in understanding the problems and thereby solving them.

Learning a language is often easy, but learning to apply it to specific problems is key. This comes with a solid theoretical background and understanding of the fundamentals. This book trumps others in this respect, and the author navigates the solutions very nicely with many excellent descriptions.

The book handles Python 3 and 2 very well. The programs are in Python 3, but wherever backward compatibility is an issue and it will not work in Python 2, examples and differences are outlined. The book outlines algorithms in general and does not cater to specific areas such as bioinformatics. However, domain experts in various areas will be able to use the algorithms that they deem fit. The book does not deal with libraries in general and is an algorithmic text.

If you are a student or professional working on automation/scripting projects, the book will be a big help. The icing on the cake is the exercises. I highly encourage readers to solve all of the exercises, which are key to learning. If you have a computer and have Python installed, try the solutions. Instructors should assign the exercise problems as homework. Hints given at the end will help, but readers should explore multiple solutions and pick the best one. The xkcd cartoons (http://xkcd.com/) in the book add a touch of humor to an otherwise serious study of CS. I highly recommend the book to any reader who wants to graduate into the upper echelons of Python study.

Reviewer:  Naga Narayanaswamy Review #: CR143410 (1508-0658)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Python (D.3.2 ... )
 
 
General (F.2.0 )
 
Would you recommend this review?
yes
no
Other reviews under "Python": Date
Practical Python
Hetland M., APress, LP, 2002.  648, Type: Book (9781590590065)
Mar 28 2003
Python programming: an introduction to computer science
Zelle J., Franklin B, 2003. Type: Book (9781887902991)
Dec 2 2004
Foundations of Python network programming
Goerzen J., APress, LP, Berkeley, CA, 2004.  512, Type: Book (9781590593714)
Dec 26 2004
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy