Skip to main content

0/1 & Unbounded Knapsack DP

Why iterating capacity backward enforces single-use (0/1) while forward iteration allows reuse (Unbounded).

This lesson has not been built yet.