Dynamic Programming and the 0/1 knapsack
问题 I'm having some trouble understanding dynamic programming, even though I've read through so many resources trying to understand. I understand an example given of dynamic programming using the fibonacci algorithm. I understand how if you use the divide and conquer approach to it, you'll end up solving some sub-problems multiple times, and dynamic programming takes care of that by solving those overlapping subproblems but only once (and storing them for future reference). However, I have been