Finding Big O Notation
Post by Souleymane Dembele on Mar 07, 2021
What is Big O?
In computer science or in Math, the Big O Notation is a method used to analyze(measure) the efficiency of an algorithm given an input size n. Big O notation answers the question of what will happen when an input size n approches Infinity . For example, assume the function ; The limit when approches to Infinity of equal the limit when approches to Infinity of 5x2 + 2x + 4 which is equal Infinity .
Why Big O Matter?
Big O notation helps us measure the worse case senario of the performence of an algorithm. In fact, it can be used to analyze both space and time complexity of an algorithm.