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 8. Tangled Dependencies and Memoization

 

Twice, adv. Once too often.

 
 --Ambrose Bierce, The Devil's Dictionary

Many of you may know the year 1957 as the birth year of programming languages.[104] For algorists, a possibly even more significant event took place this year: Richard Bellman published his groundbreaking book Dynamic Programming. Although Bellman's book is mostly mathematical in nature, not really aimed at programmers at all (perhaps understandable, given the timing), the core ideas behind his techniques have laid the foundation for a host of very powerful algorithms, and they form a solid design method that any algorithm designer needs to master.

The term dynamic programming (or simply DP) can be a bit confusing to newcomers. ...

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