https://m7madmomani2.github.io/reading-notes2
- O(1) describes an algorithm that will always execute in the same time.
- O(N) describes an algorithm whose performance will grow linearly and in direct proportion to the size of the input data set.
- O(N2) represents an algorithm whose performance is directly proportional to the square of the size of the input data set.
- O(2N) denotes an algorithm whose growth doubles with each additon to the input data set.