Viewing the time it takes to run an algorithm. Input size depends on type of object:
Runtime
Running time of an algorithm for input size is number of primitive operations/steps executed
- Steps are machine independent
Complexity Types
- Best-case
- Average-case
- Worst-case
Calculating Runtime Complexity
Total running time =