Skip to content

The same table, storing something else

Subset sum asks whether any subset of the numbers totals exactly T. It uses the knapsack table with one change.

What is it?