Skip to main content
  • Book
  • © 2010

Python Algorithms

Mastering Basic Algorithms in the Python Language

Apress
  • Learn to implement classic algorithms and design new problem-solving algorithms using Python.

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (11 chapters)

  1. Front Matter

    Pages i-xvi
  2. Introduction

    • Magnus Lie Hetland
    Pages 1-8
  3. The Basics

    • Magnus Lie Hetland
    Pages 9-44
  4. Counting 101

    • Magnus Lie Hetland
    Pages 45-70
  5. Induction and Recursion… and Reduction

    • Magnus Lie Hetland
    Pages 71-99
  6. Traversal: The Skeleton Key of Algorithmics

    • Magnus Lie Hetland
    Pages 101-123
  7. Divide, Combine, and Conquer

    • Magnus Lie Hetland
    Pages 125-150
  8. Greed Is Good? Prove It!

    • Magnus Lie Hetland
    Pages 151-174
  9. Tangled Dependencies and Memoization

    • Magnus Lie Hetland
    Pages 175-198
  10. From A to B with Edsger and Friends

    • Magnus Lie Hetland
    Pages 199-219
  11. Matchings, Cuts, and Flows

    • Magnus Lie Hetland
    Pages 221-239
  12. Hard Problems and (Limited) Sloppiness

    • Magnus Lie Hetland
    Pages 241-269
  13. Back Matter

    Pages 271-316

About this book

Python Algorithms 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, but in a highly pedagogic and readable manner.
  • The book 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 himself.

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access