2024AlgoDynamic Programming
3 minMediumMCQ2 marks
Dynamic programming state count
A 0/1 knapsack instance has 8 items and capacity 20. If the standard item-prefix and capacity DP table is used, how many states are evaluated?
A 0/1 knapsack instance has 8 items and capacity 20. If the standard item-prefix and capacity DP table is used, how many states are evaluated?