
Programming Pearls
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
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.
More details
Other editions
Additional editions

Content
Column 1. Cracking the Oyster.
A Friendly Conversation.
Precise Problem Statement.
Program Design.
Implementation Sketch.
Principles.
Problems.
Further Reading.
Column 2. Aha! Algorithms.
Three Problems.
Ubiquitous Binary Search.
The Power of Primitives.
Getting It Together: Sorting.
Principles ? Problems.
Further Reading.
Implementing an Anagram Program.
Column 3. Data Structures Programs.
A Survey Program.
Form-Letter Programming.
An Array of Examples.
Structuring Data.
Powerful Tools for Specialized Data.
Principles.
Problems.
Further Reading.
Column 4. Writing Correct Programs.
The Challenge of Binary Search.
Writing the Program.
Understanding the Program.
Principles.
The Roles of Program Verification.
Problems.
Further Reading.
Column 5. A Small Matter of Programming.
From Pseudocode to C.
A Test Harness.
The Art of Assertion.
Automated Testing.
Timing.
The Complete Program.
Principles.
Problems.
Further Reading.
Debugging.
II. PERFORMANCE.
Column 6. Perspective on Performance.
A Case Study.
Design Levels.
Principles.
Problems.
Further Reading.
Column 7. The Back of the Envelope.
Basic Skills.
Performance Estimates.
Safety Factors.
Little's Law.
Principles.
Problems.
Further Reading.
Quick Calculations in Everyday Life.
Column 8. Algorithm Design Techniques.
The Problem and a Simple Algorithm.
Two Quadratic Algorithms.
A Divide-and-Conquer Algorithm.
A Scanning Algorithm.
What Does It Matter?
Principles.
Problems.
Further Reading.
Column 9. Code Tuning.
A Typical Story.
A First Aid Sampler.
Major Surgery-Binary Search.
Principles.
Problems.
Further Reading.
Column 10. Squeezing Space.
The Key-Simplicity.
An Illustrative Problem.
Techniques for Data Space.
Techniques for Code Space.
Principles.
Problems.
Further Reading.
A Big Squeeze.
III. THE PRODUCT.
Column 11. Sorting.
Insertion Sort.
A Simple Quicksort.
Better Quicksorts.
Principles.
Problems.
Further Reading.
Column 12. A Sample Problem.
The Problem.
One Solution.
The Design Space.
Principles.
Problems.
Further Reading.
Column 13. Searching.
The Interface.
Linear Structures.
Binary Search Trees.
Structures for Integers.
Principles.
Problems.
Further Reading.
A Real Searching Problem.
Column 14. Heaps.
The Data Structure.
Two Critical Functions.
Priority Queues.
A Sorting Algorithm.
Principles.
Problems.
Further Reading.
Column 15. Strings of Pearls.
Words.
Phrases.
Generating Text.
Principles.
Problems.
Further Reading.
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.
Index. 0201657880T04062001
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.