Book description
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.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Preface
- Chapter 1: Introduction
- Chapter 2: The Basics
- Chapter 3: Counting 101
- Chapter 4: Induction and Recursion … and Reduction
- Chapter 5: Traversal: The Skeleton Key of Algorithmics
- Chapter 6: Divide, Combine, and Conquer
- Chapter 7: Greed Is Good? Prove It!
- Chapter 8: Tangled Dependencies and Memoization
- Chapter 9: From A to B with Edsger and Friends
- Chapter 10: Matchings, Cuts, and Flows
-
Chapter 11: Hard Problems and (Limited) Sloppiness
- Reduction Redux
- Not in Kansas Anymore?
- Meanwhile, Back in Kansas …
- But Where Do You Start? And Where Do You Go from There?
- A Ménagerie of Monsters
- When the Going Gets Tough, the Smart Get Sloppy
- Desperately Seeking Solutions
- And the Moral of the Story Is …
- Summary
- If You’re Curious …
- Exercises
- References
- Appendix A: Pedal to the Metal: Accelerating Python
- Appendix B: List of Problems and Algorithms
- Appendix C: Graph Terminology
- Appendix D: Hints for Exercises
- Index
Product information
- Title: Python Algorithms: Mastering Basic Algorithms in the Python Language, Second Edition
- Author(s):
- Release date: September 2015
- Publisher(s): Apress
- ISBN: 9781484200551
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Tiny Python Projects
The projects are tiny, but the rewards are big: each chapter in Tiny Python Projects challenges …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Hands-On Data Structures and Algorithms with Python
Learn to implement complex data structures and algorithms using Python Key Features Understand the analysis and …