01Chapter 1: What the Knapsack Problem AsksThis chapter assumes you know basic Python (functions, loops, lists and tuples), recursion, and Big-O notation.2 min read
02Chapter 2: Top-Down Solution with MemoizationThis chapter assumes you know Python functions and loops, recursion, Big-O notation, and nested lists. It also assumes the take-or-skip recurrence from the previous chapter: best(i, c) is the best value you can get from items i onward with remaining capacity c.2 min read