Big O
Introduction Big O is the metric used to describe the efficiency of algorithms and refers to the worst case for the algorithm. Time Complexity: An amount of time required to complete an algorithm.Space Complexity: An amount of space required by an algorithm. Factors for Time Complexity Scenarios 1) N Runtimes Example -: Find the sum …