Useful Formulae
Explore fundamental formulae used to calculate algorithm time complexity, including sums of constants, linear and quadratic sequences, and geometric series. Understand how these formulas help estimate the efficiency of iterative and nested loops, and common patterns like halving input size, to prepare for complexity measures in coding interviews.
We'll cover the following...
We'll cover the following...
Formulae
Here is a list of handy formulas which can be helpful when calculating the Time Complexity of an algorithm: