CSSE 473: Session Notes - Day 2
Topics
- The analysis framework
- Asymptotic notations and basic efficiency classes
- Analysis of iterative algorithms
Outline
- [3 min] Time/space complexity: Merge vs Quicksort
- [2 min] Measuring an input’s size: data structures vs gcd
- [2 min] Units of measuring running time: count the important stuff
- [3 min] Basic efficiency classes
- [5 min] Worst/best/avg cases complexities and when/who might be
interested in them. And no, the best case does not happen when the
input size is zero.
- [10 min] Big-Oh/Omega/Theta notations
- [5 min] Use of limits with examples/worksheet
- [20 min] Practice of analysis of non-recursive algorithms
Resources
Homework
- Day 3, BC: Sections 2.4-2.5