Dynamic Programming: Knapsack - Ones and Zeroes (2D Knapsack)
Consider two approaches to solve the Ones and Zeroes problem: (1) Top-down memoization with recursion, and (2) Bottom-up tabulation with a 2D DP table. When is the top-down memoization approach preferable over bottom-up tabulation?
