Programming pearls / by Jon Bentley
Publisher: Reading : Addison-Wesley, 2000Edition: 2nd edDescription: 239 p.; 24 cm001: 12111ISBN: 0201657880Subject(s): Programming | Computer programmingDDC classification: 005.1 BENItem type | Current library | Collection | Call number | Copy number | Status | Date due | Barcode | |
---|---|---|---|---|---|---|---|---|
Book | MAIN LIBRARY Book | 005.1 BEN (Browse shelf(Opens below)) | 1 | Available | 088313 | |||
Reference Book | MAIN LIBRARY Book | 005.1 BEN (Browse shelf(Opens below)) | 2 | Not for loan | 088314 |
Browsing MAIN LIBRARY shelves, Shelving location: Book, Collection: PRINT Close shelf browser (Hides shelf browser)
Enhanced descriptions from Syndetics:
When programmers list their favourite 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.
What remains the same in this 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 favourites.
Previous ed.: 1986.
Includes index
Table of contents provided by Syndetics
- Part I Preliminaries (p. 1)
- Column 1 Cracking the Oyster (p. 3)
- A Friendly Conversation
- Precise Problem Statement
- Program Design
- Implementation Sketch
- Principles
- Problems
- Further Reading
- Column 2 Aha! Algorithms (p. 11)
- 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 (p. 21)
- 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 (p. 33)
- 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 (p. 45)
- From Pseudocode to C
- A Test Harness
- The Art of Assertion
- Automated Testing
- Timing
- The Complete Program
- Principles
- Problems
- Further Reading
- Debugging
- Part II Performance (p. 59)
- Column 6 Perspective on Performance (p. 61)
- A Case Study
- Design Levels
- Principles
- Problems
- Further Reading
- Column 7 The Back of the Envelope (p. 67)
- Basic Skills
- Performance Estimates
- Safety Factors
- Little's Law
- Principles
- Problems
- Further Reading
- Quick Calculations in Everyday Life
- Column 8 Algorithm Design Techniques (p. 77)
- 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 (p. 87)
- A Typical Story
- A First Aid Sampler
- Major Surgery -- Binary Search
- Principles
- Problems
- Further Reading
- Column 10 Squeezing Space (p. 99)
- The Key -- Simplicity
- An Illustrative Problem
- Techniques for Data Space
- Techniques for Code Space
- Principles
- Problems
- Further Reading
- A Big Squeeze
- Part III The Product (p. 113)
- Column 11 Sorting (p. 115)
- Insertion Sort
- A Simple Quicksort
- Better Quicksorts
- Principles
- Problems
- Further Reading
- Column 12 A Sample Problem (p. 125)
- The Problem
- One Solution
- The Design Space
- Principles
- Problems
- Further Reading
- Column 13 Searching (p. 133)
- The Interface
- Linear Structures
- Binary Search Trees
- Structures for Integers
- Principles
- Problems
- Further Reading
- A Real Searching Problem
- Column 14 Heaps (p. 147)
- The Data Structure
- Two Critical Functions
- Priority Queues
- A Sorting Algorithm
- Principles
- Problems
- Further Reading
- Column 15 Strings of Pearls (p. 161)
- Words
- Phrases
- Generating Text
- Principles
- Problems
- Further Reading
- Epilog to the First Edition (p. 175)
- Epilog to the Second Edition (p. 177)
- Appendix 1 A Catalog of Algorithms (p. 179)
- Appendix 2 An Estimation Quiz (p. 183)
- Appendix 3 Cost Models for Time and Space (p. 185)
- Appendix 4 Rules for Code Tuning (p. 191)
- Appendix 5 C++ Classes for Searching (p. 197)
- Hints for Selected Problems (p. 201)
- Solutions to Selected Problems (p. 205)
- Index (p. 233)
Excerpt provided by Syndetics
There are no comments on this title.