12.07.2015 Views

A Practical Introduction to Data Structures and Algorithm Analysis

A Practical Introduction to Data Structures and Algorithm Analysis

A Practical Introduction to Data Structures and Algorithm Analysis

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

62 Chap. 3 <strong>Algorithm</strong> <strong>Analysis</strong>1400n!2 n2n 25n log n1200100020n80060010n40020000 10 20 30 40 50400n!2 n2n 230020n2005n log n10010n00 5 10 15Input size nFigure 3.1 Two views of a graph illustrating the growth rates for six equations.The bot<strong>to</strong>m view shows in detail the lower-left portion of the <strong>to</strong>p view. The horizontalaxis represents input size. The vertical axis can represent time, space, orany other measure of cost.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!