The time complexity of solving the 0-1 Knapsack Problem using dynamic programming with a bottom-up approach (tabulation) is:
O(n)
O(n log n)
O(n * capacity)
O(n * capacity^2)
This question is part of this quiz :