Lesson 22: Hard problems and greedy solutions

Outline:

  1. Questions?
  2. Recap: inheritance
  3. Bin Packing
    • problem statement
    • “hard” problems and algorithmic complexity
  4. The Knapsack Problem
    • problem statement
    • “greedy” solutions
    • algorithmic complexity, revisited

Explore after class:

  1. Review for Quiz 4

Want more practice?

  1. Runestone

What’s next

Upcoming events/assessments:

  • CS Bits and Bytes tomorrow at 3:30pm in Anderson 329: Meditech
  • Homework assignment 7 is due tomorrow
  • Quiz #4 will be on Friday (in Olin 149)

What you should do now:

Reading assignment (to be completed by the next class):