What is an algorithm?
A process for computing a function that is guaranteed to terminate for all (finite) inputs
What are the two most important characteristics used to compare algorithms?
Running time: Worst case, best case, and average case
Memory usage: Again, in the different cases
If an algorithm performs n^2/4 operations for an input of size n, what is the average asymptotic time complexity of the algorithm?
n^2
What is the average asymptotic time complexity of an algorithm?
The algorithm’s average case complexity as n tends towards infinity