© 2010

Python Algorithms: Mastering Basic Algorithms in the Python Language

  • Authors

Table of contents

  1. Front Matter
    Pages i-xvi
  2. Magnus Lie Hetland
    Pages 1-8
  3. Magnus Lie Hetland
    Pages 9-44
  4. Magnus Lie Hetland
    Pages 45-70
  5. Magnus Lie Hetland
    Pages 71-99
  6. Magnus Lie Hetland
    Pages 101-123
  7. Magnus Lie Hetland
    Pages 125-150
  8. Magnus Lie Hetland
    Pages 151-174
  9. Magnus Lie Hetland
    Pages 175-198
  10. Magnus Lie Hetland
    Pages 199-219
  11. Magnus Lie Hetland
    Pages 221-239
  12. 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.


algorithmics algorithms computer computer science programming techniques

About the authors

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