Time Complexity, Big O notation
The amount of time needed by an algorithm to run to its completion is referred as time complexity. The asymptotic running time of an algorithm is defined in terms of functions. The upper bound for the function 'f' isprovided by the big oh notation (O). Considering 'g' to be a