Book Description
Fourteen years after it was first issued, C++ expert Jon Bentley reinvents a true classic with the second edition of his Programming Pearls. Completely revised and brought up to date with all new code examples in C and C++, this book remains an exceptional tutorial for learning to think like a programmer. The "pearls" in question center not only on choosing the right algorithms (like binary searches, sorting techniques, or sparse arrays) but also on showing how to solve problems effectively. Each chapter frames a particular programming task--such as sorting numbers, creating anagrams, or counting the words in a block of text--many drawn from Bentley's experiences in his long career as a developer. The book traces the process of arriving at a fast, efficient, and accurate solution, along with code profiling to discover what works best. After refining the correct answer, each chapter enumerates programming principles that you can use on your own. The author also challenges you to think like an engineer, and each chapter ends with about a dozen problems to get you thinking creatively about design issues. (Sidebars on such historical topics as the first computer solutions to computer chess, spell-checking, and even architectural design help create a perspective on successful problem solving and make for a truly educational and enjoyable tour of how to become a better programmer.) Bentley also asks the reader to think analytically about the world with "back of the envelope" estimation techniques drawn from engineering. Appendices list the algorithms and code rules covered in the book, plus some sample solutions. Fans of the first edition of this title will be pleased to see this favorite computer text brought up to date for today's faster hardware. Whether you want to improve your command of algorithms or test your problem-solving skills, the new version of Programming Pearl is a challenging, instructive, and thoroughly entertaining resource. --Richard Dragan Topics covered: Programming and problem-solving tutorial, sorting algorithms, merge sort, bit vectors, binary searches, program correctness and testing, improving performance, engineering and problem-solving techniques, performance estimates, designing for safety, divide-and-conquer and scanning algorithms, tuning code, tips for more efficient memory usage, insertion sort, quicksort algorithms, sparse arrays, searching algorithms, binary search trees, heaps, priority queues, searching text, and generating random text.
|
Please wait for a few seconds while we obtain prices from our merchants |
| Summary of Lowest Prices | |||||||
|---|---|---|---|---|---|---|---|
| Seller | Condition | Price | Shipping | Details | Total | ||
![]() |
International | $6.63 | $19.99 |
|
$26.62 | View All International | |
![]() |
Used | $22.95 | $3.65 |
|
$26.60 | View All Used | |
![]() |
New | $27.38 | $3.99 |
|
$31.37 | View All New | |
![]()
Content Copyright © 1999-2008 Terms and Conditions of Use, Security and Privacy Policy | Resources: 1 2 3 | Site Map
Your Bookbag
Your Bookbag is now empty
Use your bookbag to search for multiple books at one time.
Find the best prices for all your textbook needs in one easy search.
To add an item simply select "Add to My Bookbag".