Question: What is the time complexity of the dynamic programming solution for the 0/1 Knapsack problem?
Options:
Correct Answer: O(n * W)
Solution:
The time 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.