Useful Formulas

In this lesson, we'll study some mathematical formulas that make calculating time complexity easier!

We'll cover the following...

Formulas

Here is a list of handy formulas which can be helpful when calculating the time complexity of an algorithm:

Summation Equation
(i=1nc)=c+c+c++c\left(\sum_{i=1}^n c \right) = c + c+ c + \cdots + c
...
Access this course and 1400+ top-rated courses and projects.