7 Analysis of Algorithms

Version 61

Code listings, handouts: Three Algorithms for Analysis

7.1 Timing

Additional Notes

7.2 Asymptotic Notation

7.3 Counting Steps

7.4 Best, Worst, and Average Case Analysis

7.5 Amortized Analysis

Footnotes


  1. Revision history:
    • Version 6, 2010 Oct 4. Converted to markdown.
    • Version 5, 2009 Oct. 5. Converted to reStructuredText.
    • Version 4, 2008 Sep 29. Minor corrections, additions, and clarifications.
    • Version 3, 2007 Sept 29: added three algorithms for analysis.
    • Version 2, 2007 Sept 29: reformatted.
    • Version 1, 2006 Oct 3.