Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 866 Bytes

File metadata and controls

40 lines (20 loc) · 866 Bytes

Asymptotic Notations

Asymptotic notation allows to calculate the runtime of an algorithm by analyzing the input size of the algorithm. Also know as algorithms growth rate.

Types of Asymptotic Notations

  • Best case

  • Worst case

  • Average case

Big O Notation (worst case)

To calculate the asymptotically upper bound of an algorithm's runtime (worst case).

Which can be of

Big Omega (best case)

To calculate the asymptotically lower bound of an algorithm's runtime (best case).

Theta

To calulate the asymptotically tight bound of an algorithm's runtime.

Reference