P2: Analysis of algorithms

This session is about finding the asymptotic cost (i.e. running time) of simple algorithms as a function of the input size.

The theoretical tools we use are:

We continue with some problems from the EDA ProblemSet, section 1 Analysis of algorithms.

After class

To test your understanding, try exercises from the Collection of Solved Exams. For instance:

The solutions of the above problems are in the same pdf containing their statement.