Book description
When programmers list their favorite books, Jon Bentley’s collection of programming pearls is commonly included among the classics. Just as natural pearls grow from grains of sand that irritate oysters, programming pearls have grown from real problems that have irritated real programmers. With origins beyond solid engineering, in the realm of insight and creativity, Bentley’s pearls offer unique and clever solutions to those nagging problems. Illustrated by programs designed as much for fun as for instruction, the book is filled with lucid and witty descriptions of practical programming techniques and fundamental design principles. It is not at all surprising that Programming Pearls has been so highly valued by programmers at every level of experience.
In this revision, the first in 14 years, Bentley has substantially updated his essays to reflect current programming methods and environments. In addition, there are three new essays on
testing, debugging, and timing
set representations
string problems
All the original programs have been rewritten, and an equal amount of new code has been generated. Implementations of all the programs, in C or C++, are now available on the Web.
What remains the same in this new edition is Bentley’s focus on the hard core of programming problems and his delivery of workable solutions to those problems. Whether you are new to Bentley’s classic or are revisiting his work for some fresh insight, the book is sure to make your own list of favorites.
Table of contents
- About This E-Book
- Title Page
- Copyright Page
- Preface
- Contents
- Part I: Preliminaries
- Part II: Performance
- Part III: The Product
- Epilog to the First Edition
- Epilog to The Second Edition
- Appendix 1: A Catalog of Algorithms
- Appendix 2: An Estimation Quiz
- Appendix 3: Cost Models for Time and Space
- Appendix 4: Rules for Code Tuning
- Appendix 5: C++ Classes for Searching
- Hints for Selected Problems
-
Solutions to Selected Problems
- Solutions for Column 1
- Solutions for Column 2
- Solutions for Column 3
- Solutions for Column 4
- Solutions for Column 5
- Solutions for Column 6
- Solutions for Column 7
- Solutions for Column 8
- Solutions for Column 9
- Solutions for Column 10
- Solutions for Column 11
- Solutions for Column 12
- Solutions for Column 13
- Solutions for Column 14
- Solutions for Column 15
- Index
- Code Snippets
Product information
- Title: Programming Pearls, Second Edition
- Author(s):
- Release date: September 1999
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134498058
You might also like
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
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
video
Clean Code
Expanded Edition (August 2018) Updated with Design Patterns episodes from the Clean Code series from Clean …
video
Algorithms: 24-part Lecture Series
Algorithms, Deluxe Edition, Fourth Edition These Algorithms Video Lectures cover the essential information that every serious …