Cider - Shop now
Buy new:
-46% $54.28
FREE delivery Monday, May 12 to Nashville 37217
Ships from: Amazon.com
Sold by: Amazon.com
$54.28 with 46 percent savings
List Price: $99.99
FREE Returns
FREE delivery Monday, May 12 to Nashville 37217
Or fastest delivery Saturday, May 10
In Stock
$$54.28 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$54.28
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$48.75
FREE Returns
Good condition. No markings (highlighting/underlining/notes) inside. Ships directly from Amazon. Good condition. No markings (highlighting/underlining/notes) inside. Ships directly from Amazon. See less
FREE delivery Monday, May 12 to Nashville 37217
Or fastest delivery Sunday, May 11
Only 1 left in stock - order soon.
$$54.28 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$54.28
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Python Algorithms: Mastering Basic Algorithms in the Python Language 2nd ed. Edition

4.2 out of 5 stars 24 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$54.28","priceAmount":54.28,"currencySymbol":"$","integerValue":"54","decimalSeparator":".","fractionalValue":"28","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"bwzFXdRSxA%2Ba3InMGBmIeqH%2BkCZFs0bdzPXggw%2BOiCRTIl%2F033WMd4sH455vQXSe3zS3aSv9YPworAPvO8HcaT0%2BHFV85%2FKAPHAlyaiGLEKwBhY2RVLNn0Aau7lB%2BoH3X%2B5m5ic7Gncn%2B%2FzB0tCukw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$48.75","priceAmount":48.75,"currencySymbol":"$","integerValue":"48","decimalSeparator":".","fractionalValue":"75","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"bwzFXdRSxA%2Ba3InMGBmIeqH%2BkCZFs0bdQydsiiNS%2Fyf6jod3Bs1QVH4TXi5gwdGfJIlg5l6PAYkL1pRg78O08pjHTWjpbIF%2FLgWVwBzC%2F9aCcYx9IcI8t1NqH5OlhiA4Tte90tql%2FS5FvhpyGRBSC2%2Bh7DAlZR6luQgLNhtgl7Du26SaNPy%2Br7W9CHrTRl5Z","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Python Algorithms, Second Edition explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it also gives a solid understanding of fundamental algorithmic problem-solving techniques.

The book deals with some of the most important and challenging areas of programming and computer science in a highly readable manner. It covers both algorithmic theory and programming practice, demonstrating how theory is reflected in real Python programs. Well-known algorithms and data structures that are built into the Python language are explained, and the user is shown how to implement and evaluate others.

There is a newer edition of this item:

Frequently bought together

This item: Python Algorithms: Mastering Basic Algorithms in the Python Language
$53.78
Get it as soon as Monday, May 12
Only 1 left in stock - order soon.
Sold by MTEAE and ships from Amazon Fulfillment.
+
$69.99
Get it as soon as Monday, May 12
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
One of these items ships sooner than the other.
Choose items to buy together.

Editorial Reviews

Review

“The book is structured as probably any book or course for programming. Starting from the basics with the Asymptotic Notation and the complexity of algorithms and going to various structures and cases. After each chapter you have problems with hints for their resolution at the end of the book. … If you know Python already to some good working level and you need to understand algorithms for a reason, the book would bring you there.” (Vitosh Academy, vitoshacademy.com, October, 2015)

About the Author

Magnus Lie Hetland is an experienced Python programmer, having used the language since the late 1990s. He is also an associate professor of algorithms at the Norwegian University of Science and Technology, having taught algorithms for the better part of a decade. Hetland is the author of Practical Python and Beginning Python, first and second editions, as well as several scientific papers.

Product details

  • Publisher ‏ : ‎ Apress; 2nd ed. edition (September 4, 2014)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 336 pages
  • ISBN-10 ‏ : ‎ 148420056X
  • ISBN-13 ‏ : ‎ 978-1484200568
  • Item Weight ‏ : ‎ 1.25 pounds
  • Dimensions ‏ : ‎ 7.52 x 0.73 x 9.25 inches
  • Customer Reviews:
    4.2 out of 5 stars 24 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Magnus Lie Hetland
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Customer reviews

4.2 out of 5 stars
24 global ratings

Review this product

Share your thoughts with other customers

Top reviews from the United States

  • Reviewed in the United States on May 7, 2020
    The author does a better job of explaining algorithms than the vast majority of well-known books out there. The author approaches algorithms in plain English, and actually explains concepts in a way that is easy to absorb and understand. This is a great read if you are learning algorithms for the first time, especially if you use python. Well worth the money and glad to have come across this book.
    One person found this helpful
    Report
  • Reviewed in the United States on February 18, 2016
    Was impressed by the quality and clarity of the material. The title says it all - it covers exactly what it says. Code is clean/pythonic. You will not be disappointed
    7 people found this helpful
    Report
  • Reviewed in the United States on July 7, 2019
    This is a good python algorithm book for beginners.
  • Reviewed in the United States on June 12, 2015
    Excellent book
  • Reviewed in the United States on October 11, 2015
    <disclaimer>I am a blogger, writing articles for various programming languages, that I find interesting. Lately for Python. I was provided with a paper version of the book from Apress, after a request from my site.</disclaimer>

    Before starting the review, let me clarify where I stay in the position of Algorithms - I have been a student at an algorithm course in HackBulgaria with Python and I have read some chapters from Algorithm Design (Kleinberg & Trados) and The Algorithm Design (from Skiena). Furthermore, sometimes I take part in algorithmic competitions, but I am not amongst the top coders.

    Having said all of this, let me start with the review:

    Structure> The book is structured as probably any book or course for programming. Starting from the basics with the Asymptotic Notation and the complexity of algorithms and going to various structures and cases. After each chapter you have problems with hints for their resolution at the end of the book. Three appendices - way to speed up python, list of all algorithmic problems and graph terminology. I found them useful.

    Positive points> As the book of Kleinberg and Trados, here the author really tries to tell a story about the algorithm and he manages it pretty well. Probably by experience he has realized that it is quite easy to "lose" the reader on the tough parts, thus there are some pictures and jokes. Definitely something that I liked.

    Negative points (a.k.a. hate)> The only hate part I can think about is that the exercises are not completely resolved, but only hints are given for them. Anyway, for an average programmer having access to google and stackoverflow, it should not be difficult to solve those with the hints. But still, I prefer to know the authors ideas of how to solve those. The more code you see, the better you write your own.

    Code Present> Yes. Totally. And that is great! :) Something good about the code - whenever the code allows it, the author provides in a comment an example of what should be written in the shell to run the code. That is a good practise more authors should follow, so the readers are never confused. That is an example of the commented code:
    """
    >>> G = some_graph()
    >>> list(iddfs(G, 0))
    [0, 1, 2, 3, 4, 5, 6, 7]
    """
    Style of writing> A nice one. As readable as I could imagine. With jokes, trying to attract the attention to the subject. Telling the stories behind some of the famous algorithms is also part of the book - e.g. the thing with the Swedish towns and villages, the bridges of Kaliningrad. Even when there is no such story, the author creates one, which I liked.

    The Verdict> If you know Python already to some good working level and you need to understand algorithms for a reason, the book would bring you there. If you do not know Python, learn it first and then go into this book. :)
    28 people found this helpful
    Report
  • Reviewed in the United States on July 7, 2021
    Good as expected

Top reviews from other countries

  • Vicente
    3.0 out of 5 stars Not recommended.
    Reviewed in the United Kingdom on April 25, 2017
    Its a bit complicated and poor in content for the price.
    It is more a complement than a all in one thing.
    The explanations are a bit here and there. Not easy to understand.
    Maybe have other good books more complete than this one.
  • Cooper
    5.0 out of 5 stars Great for intermediate coder looking to level up
    Reviewed in Japan on October 31, 2019
    I give it a perfect score because it fits my expectations perfectly. I would say that I have an intermediate coding ability. I have mostly avoided algorithms because of my desire to just pound away at the keyboard and “make stuff” but I quickly reached a point where I needed to really dig down into the algorithms if I wanted to be able to take on more complicated problems. The material in this book is hard enough to keep me growing but not bloated with the really high academic stuff that makes my head spin. With this I feel like I’m will level up.