Question: What is the space complexity of the dynamic programming solution for the 0/1 Knapsack problem?
Options:
Correct Answer: O(n*w)
Solution:
The space complexity of the dynamic programming solution for the 0/1 Knapsack problem is O(n*w), where n is the number of items and w is the maximum weight capacity.