This section comprises some key items related to the application of functions in computer science.
Big O Notation (with a capital letter O, not a zero), also called Landau’s symbol, is a symbolism used in complexity theory, computer science, and mathematics to describe the asymptotic behavior of functions. Basically, it tells you how fast a function grows or declines.
Big O Notation
Big O notation is one of the most fundamental tools for computer scientists to analyze the cost of an algorithm. It is a good practice for software engineers to understand in-depth as well.
The upper bound of the complexity of an algorithm.
% http://stackoverflow.com/questions/487258/plain-english-explanation-of-big-o % http://www.cs.dartmouth.edu/~dwagn/research/ordernotation.html
Big O notation is used in Computer Science to describe the performance or complexity of an algorithm. Big O specifically describes the worst-case scenario, and can be used to describe the execution time required or the space used (e.g. in memory or on disk) by an algorithm.
!(“/images/big-o-notation.png”)[big-o-notation]
Here are some common orders of growth along with descriptions and examples where possible.