Book Review: Algorithms in a Nutshell by George T. Heineman, Gary Pollice, and Stanley Selkow - Page 2

Author: FitzPublished: Jan 06, 2009 at 12:00 am 0 comments

Part III provides two chapters to help when you've exhausted the other algorithms but still haven't quite found "the one."

"When All Else Fails" provides ways to vary your approach and perhaps use a conglomeration of approaches to achieve results when a single algorithm might not work.

And in the "Epilogue" the authors provide a great set of principles to help guide selecting an appropriate algorithm.

  • Know Your Data
  • Decompose the Problem into Smaller Problems
  • Choose the Right Data Structure
  • Add Storage to Increase Performance
  • If No Solution is Evident, Construct a Search
  • or If No Solution is Evident, Reduce Your Problem to Another Problem that Has a Solution
  • and Writing Algorithms is Hard - Testing Algorithms is Harder
Personally, I think this chapter should have been in the first part of the book. It gets to the heart of the matter quickly and succinctly, providing a simple set of guiding principles to help find the right solution.

Overall, this is a great book for developers looking for more tools in their arsenals. As you might suspect, this is not really a book to read cover to cover unless it's for a class. But it provides a clear and well laid out approach to some of the many algorithms that exist today in computer programming. It isn't an exhaustive list, but it certainly provides a great cross-section from which you could continue your search.

I, for one, am happy this book is now on my shelf beside some of my other computer science references on data structures and design patterns. It's a welcome addition to my box of tools.

Be sure to check it out at your favorite bookstore or at Amazon!

Page 1 — Page 2

Article tags

Spread the word
Bookmark and Share
Profile image for fitz

Article Author: Fitz

Brian Fitzpatrick (aka "Fitz") is a software engineer and writer living in Colorado Springs, Colorado, with his wife, two daughters, two dogs, and two cats -- trying desperately to survive the chaos!

Visit Fitz's author pageFitz's Blog

Read comments on this article, and add some feedback of your own
  • Algorithms in a Nutshell (In a Nutshell (O'Reilly)) Algorithms in a Nutshell (In a Nutshell (O'Reilly))

    Creating robust software requires the use of efficient algorithms, but programmers seldom think about them until a problem occurs. Algorithms in a Nutshell describes a large number of existing algorithms ...

Article comments

Add your comment, speak your mind

Personal attacks are NOT allowed.
Please read our comment policy.
Please preview your comment.

blogcritics lists for Nov 27, 2009

fresh articles Most recent articles site-wide

fresh comments Most recent comments site-wide

most comments Most comments in 24hrs

top writers Most prolific Blogcritics for October

top commenters Most prolific Commenters in 24 hrs