6.100L | Fall 2022 | Undergraduate

Introduction to CS and Programming using Python

Lecture 22: Big Oh and Theta

Topics: Complexity: Big-Oh notation, Big-Theta notation, complexity relations and classes, calc-complexity

Lecture Notes

Lecture 22: Big Oh and Theta

Lecture 22 Code

Readings

Ch 11

Finger Exercise Lecture 22

Question 1: Simplify n*n + log(n) + 2**a to determine θ in terms of n.    
Question 2: Simplify 2**n + n*log(n) + n**2 to determine θ in terms of n.    
Question 3: Simplify f*log(f) + 100000 + 300*a + x*y*z to determine θ in terms of n.

6.100L Finger Exercises Lecture 22 Solutions

Course Info

Instructor
As Taught In
Fall 2022
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets
Programming Assignments with Examples
Readings
Recitation Notes