Big O Notation
Overview
This lesson covers the basics of Big O notation.
There are two components to this lesson:
- myGA module: Big O Notation
- In-Class Exercise: Analyzing Algorithms
Learning Objectives
By the end of this lesson, you'll be able to:
- Explain how Big O notation is used to describe algorithms.
- Define constant, linear, quadratic, logarithmic, and factorial Big O runtimes.
- Analyze algorithms to determine their Big O runtime.
Prerequisites
- None
Duration
1.5 hours total:
- 0.5 hour myGA
- 1 hour in class
Additional Resources
- The Big O Cheat Sheet is the authority on Big O complexities.