1. Big O Notation
Very short notes for the first chapter; not much to talk about.
Big O Notation seeks to estimate the runtime of the algorithm in terms of the input size. The main things to remember are...
- Constants don't matter
- If we have a series of multiple terms such as , only matters, i.e. the most expensive time complexity
Formally, let and be functions from . Then, that is constant such that we have .