11.07.2015 Views

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ivContents2.6.1 Direct Proof 372.6.2 Proof by Contradiction 372.6.3 Proof by M<strong>at</strong>hem<strong>at</strong>ical Induction 382.7 Estim<strong>at</strong>ion 442.8 Further Reading 452.9 Exercises 463 <strong>Algorithm</strong> <strong>Analysis</strong> 533.1 Introduction 533.2 Best, Worst, <strong>and</strong> Average Cases 593.3 A Faster <strong>Computer</strong>, or a Faster <strong>Algorithm</strong>? 603.4 Asymptotic <strong>Analysis</strong> 633.4.1 Upper Bounds 633.4.2 Lower Bounds 653.4.3 Θ Not<strong>at</strong>ion 663.4.4 Simplifying Rules 673.4.5 Classifying Functions 683.5 Calcul<strong>at</strong>ing the Running Time for a Program 693.6 Analyzing Problems 743.7 Common Misunderst<strong>and</strong>ings 753.8 Multiple Parameters 773.9 Space Bounds 783.10 Speeding Up Your Programs 803.11 Empirical <strong>Analysis</strong> 833.12 Further Reading 843.13 Exercises 853.14 Projects 89II Fundamental <strong>D<strong>at</strong>a</strong> <strong>Structures</strong> 914 Lists, Stacks, <strong>and</strong> Queues 934.1 Lists 944.1.1 Array-Based List Implement<strong>at</strong>ion 974.1.2 Linked Lists 1004.1.3 Comparison of List Implement<strong>at</strong>ions 108

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

Saved successfully!

Ooh no, something went wrong!