Jon Bentley

Programming Pearls

2. Auflage. Sprachen: Englisch. 23,5 cm / 15,9 cm / 1,5 cm ( B/H/T )
Buch (Softcover), 256 Seiten
EAN 0785342657883, 9780201657883
Veröffentlicht September 1999
Verlag/Hersteller Pearson International

Auch erhältlich als:

eBook (pdf)
€ 42,49
€ 41,49 inkl. MwSt.
Teilen
Beschreibung

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.

Portrait

I. PRELIMINARIES. 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.

Inhaltsverzeichnis

I. PRELIMINARIES. 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

Das könnte Sie auch interessieren

Caro Claire Burke
Yesteryear
eBook (epub)
Sofort lieferbar (Download)
€ 11,89
Elle Kennedy
The Deal
eBook (epub)
Sofort lieferbar (Download)
€ 0,99
Orwell George Orwell
Animal Farm
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Elle Kennedy
The Score
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Ali Hazelwood
The Love Hypothesis
eBook (epub)
Sofort lieferbar (Download)
€ 0,99
Herman Melville
Moby Dick - classic
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Elle Kennedy
The Mistake
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Emily Brontë
Wuthering Heights
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Sofort lieferbar (Download)
€ 0,00
Elle Kennedy
The Goal
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Charlotte Bronte
Jane Eyre
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Elle Kennedy
The Legacy
eBook (epub)
Sofort lieferbar (Download)
€ 4,49
Fredrik Backman
My Friends
eBook (epub)
Sofort lieferbar (Download)
€ 3,86
Jacqueline Harpman
I Who Have Never Known Men
eBook (epub)
Sofort lieferbar (Download)
€ 8,99
Bram Stoker
Dracula
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Andy Weir
Project Hail Mary
eBook (epub)
Sofort lieferbar (Download)
€ 8,99
Rebecca Yarros
Fourth Wing
eBook (epub)
Sofort lieferbar (Download)
€ 6,49
Colleen Hoover
Finding Cinderella
eBook (epub)
Sofort lieferbar (Download)
€ 0,00
Rebecca Yarros
Iron Flame
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Rachel Reid
Heated Rivalry
eBook (epub)
Sofort lieferbar (Download)
€ 5,33
Annabel Monaghan
It's a Love Story
eBook (epub)
Sofort lieferbar (Download)
€ 0,99
Carley Fortune
Every Summer After
eBook (epub)
Sofort lieferbar (Download)
€ 5,99
Robert Galbraith
The Hallmarked Man
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Gabrielle Zevin
Tomorrow, and Tomorrow, and Tomorrow
eBook (epub)
Sofort lieferbar (Download)
€ 8,99
Rebecca Yarros
Onyx Storm
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Sheila Masterson
The Poison Daughter
eBook (epub)
Sofort lieferbar (Download)
€ 14,99
Alison Espach
The Wedding People
eBook (epub)
Sofort lieferbar (Download)
€ 9,99
Florence Knapp
The Names
eBook (epub)
Sofort lieferbar (Download)
€ 5,99
Abby Jimenez
The Night We Met
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Carley Fortune
One Golden Summer
eBook (epub)
Sofort lieferbar (Download)
€ 8,99
Robert Jackson Bennett
A Drop of Corruption
eBook (epub)
Sofort lieferbar (Download)
€ 7,99
Madeline Cash
Lost Lambs
eBook (epub)
Sofort lieferbar (Download)
€ 12,99
Elle Kennedy
Love Song
eBook (epub)
Sofort lieferbar (Download)
€ 6,99
Rachel Reid
Game Changer
eBook (epub)
Sofort lieferbar (Download)
€ 5,33
Elizabeth Strout
The Things We Never Say
eBook (epub)
Sofort lieferbar (Download)
€ 12,99
Martin Walker
A Murder in Springtime
eBook (epub)
Sofort lieferbar (Download)
€ 14,99