Programming Pearls

Front Cover
Addison-Wesley Professional, 2000 - Computers - 239 pages
30 Reviews
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 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. In this revision, 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 available on the Web.
  

What people are saying - Write a review

User ratings

5 stars
24
4 stars
4
3 stars
2
2 stars
0
1 star
0

A must have book for any Programmer

User Review  - Ashish Goyal - Flipkart

This is a must have book, if you get your hands dirty in hard core programming. People from any programming generations will get benefited by this book. Read it well, and don't try to rush to get maximum return on your investment :) Read full review

Definitely a Pearl.

User Review  - Pratyush Kumar - Flipkart

the book is succinct and very relevant to the person who is trying to learn neat, short and simple(not simpler)programming style. A lot of practical examples(taken from author's professional life ... Read full review

Selected pages

Contents

Cracking the Oyster
3
Aha Algorithms
11
Data Structures Programs
21
Writing Correct Programs
33
A Small Matter of Programming
45
PERFORMANCE
59
Perspective on Performance
61
The Back of the Envelope
67
Searching
133
Heaps
147
Strings of Pearls
161
Epilog to the First Edition
175
Epilog to the Second Edition
177
A Catalog of Algorithms
179
An Estimation Quiz
183
Cost Models for Time and Space
185

Algorithm Design Techniques
77
Code Tuning
87
Squeezing Space
99
THE PRODUCT
113
Sorting
115
A Sample Problem
125
Rules for Code Tuning
191
C++ Classes for Searching
197
Hints for Selected Problems
201
Solutions to Selected Problems
205
Index
233

Common terms and phrases

References to this book

All Book Search results »

About the author (2000)

bentley is a member of technical staff at lucent technologies, murray hill, nj.

Bibliographic information