Lesson 6: Computational Complexity
Outline:
- Questions?
- Counting steps
- exact counting
- as a function
- practice: Exercises 1+2
- Big-O
- basics and intuition
- more formally
- Wrap-up
What’s next
- Quiz 2 will be next Monday and cover the following Quiz Learning Objectives:
- OO 1: objects
- OO 2: interfaces
- OO 3: inheritance
- TC 1: complexity classes
- [if space] KF 1: variables
- Assignment 2 is due next Wednesday
What you should do now:
- The readings (see below)
- Complete Question 1 of Assignment 2 today
- Practice with classes, inheritance, and interface (Lab 2 may help)
Reading assignment (to be completed by the next class):
Big-O notation (from today):
Want more on Big-O and expressions like it? See these:
Stacks (for next time):