Lecture 22: Big Oh and Theta
At a glance
- Price Free to watch, no sign-up
- Runtime 1 h 21 min
- Topics Computer Science, Mathematics
- Source MIT, Introduction to CS and Programming using Python
- Lecture Lecture 22 of 25
- Language English
MIT lecturer Ana Bell teaches algorithmic complexity in this session from 6.100L, Introduction to CS and Programming using Python. She explains why comparing algorithm efficiency requires notation independent of machine speed or specific implementation details, then develops Big Oh notation for upper bounds on growth rate. The lecture builds toward Theta notation, which pins down asymptotic order of growth exactly rather than just bounding it from above, and works through how to derive these classifications from code by counting operations as input size grows. Bell walks through examples on the board, connecting the abstract notation back to concrete loops and function calls so students can see where linear, quadratic, and logarithmic growth actually come from. Running 81 minutes, the lecture is part of the Fall 2022 offering of MIT's introductory Python programming course, available through MIT OpenCourseWare.