Useful Formulas
Study some mathematical formulas that make calculating time complexity easier.
We'll cover the following...
Formulas
Here is a list of handy formulas that can be helpful when calculating the time complexity of an algorithm:
Summation | Equation |
Here are some of the formulas dealing with logarithmic expressions:
Logrithmtic Expressions | Equivalent Expression |
General tips
- Every time a list or array gets iterated over