Lesson 22: Hard problems and greedy solutions

Outline:

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

Explore after class:

  1. Review for Quiz 2

Want more practice?

  1. Runestone

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