analysis of algorithm

The analysis of algorithm is the process of finding the computational complexity of algorithm – the amount of time, storage, or other resources needed to execute it.
We can have three cases to analyse an algorithm:
* Worst case
* Average case
* Best case