0 votes 0 votes Algorithms algorithms knapsack-problem virtual-gate-test-series + – firki lama asked Dec 29, 2016 • edited Apr 14, 2019 by Lakshman Bhaiya firki lama 360 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes you can use backtracking approach try each possible combination. As knapsack problem can be solved dynamic programming which is nohting but a recursive backtracking. approch but it save some step from recalculation. sachin! answered Dec 30, 2016 sachin! comment Share Follow See all 0 reply Please log in or register to add a comment.