Big-O notation
Explore Big-O notation to learn how it represents an upper bound on the growth rate of algorithm running times. Understand its role in asymptotic analysis for assessing worst-case performance and why it is used alongside Big-Theta notation.
We'll cover the following...
We use big-Θ notation to asymptotically bound the growth of a running time to within constant factors above and below. Sometimes we want to bound from only above. For example, although the worst-case running time of binary search is
If a running time is