Algorithms in a Nutshell

(Tina Meador) #1

(^10) | Chapter 1: Algorithms Matter
The Moral of the Story
The previous story really happened. Algorithms do matter. You might ask
whether the tree-balancing algorithm was the optimal solution for the problem.
That’s a great question, and one that we’ll answer by asking another question:
does it really matter? Finding the right algorithm is like finding the right solution
to any problem. Instead of finding the perfect solution, the algorithm just has to
Figure 1-3. Performance analysis of malloc/free requests
Algorithms in a Nutshell
Algorithms in a Nutshell By Gary Pollice, George T. Heineman, Stanley Selkow ISBN:
9780596516246 Publisher: O'Reilly Media, Inc.
Prepared for Ming Yi, Safari ID: [email protected]
Licensed by Ming Yi
Print Publication Date: 2008/10/21 User number: 594243
© 2009 Safari Books Online, LLC. This PDF is made available for personal use only during the relevant subscription term, subject to the Safari Terms of Service. Any other use

Free download pdf