Knapsack O(n) space# JobHunting - 待字闺中a*h2009-11-21 08:111 楼Anyone know how to modify Knapsack's dynamic programming to use only O(n)space instead of O(nW) space?