Skip to Content
Python Algorithms: Mastering Basic Algorithms in the Python Language
book

Python Algorithms: Mastering Basic Algorithms in the Python Language

by Magnus Lie Hetland
November 2010
Intermediate to advanced
332 pages
11h 57m
English
Apress
Content preview from Python Algorithms: Mastering Basic Algorithms in the Python Language

Chapter 11. Hard Problems and (Limited) Sloppiness

 

The best is the enemy of the good.

 
 --Voltaire

This book is clearly about algorithmic problem solving. Until now, the focus has been on basic principles for algorithm design, as well as examples of important algorithms in many problem domains. Now, I'll give you a peek at the flip side of algorithmics: hardness. Although it is certainly possible to find efficient algorithms for many important and interesting problems, the sad truth is that most problems are really hard. In fact, most are so hard that there's little point in even trying to solve them. It then becomes important to recognize hardness, to show that a problem is intractable (or at least very likely so), and to know what alternatives ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Algorithms: Mastering Basic Algorithms in the Python Language, Second Edition

Python Algorithms: Mastering Basic Algorithms in the Python Language, Second Edition

Magnus Lie Hetland

Publisher Resources

ISBN: 9781430232377Purchase book