Dynamic Programming: Knapsack - Subset Sum
The following code attempts to solve the subset sum problem using space-optimized DP. Identify the bug that causes incorrect results on some inputs.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions