0 0 votes Algorithms algorithms knapsack-problem virtual-gate-test-series + – firki lama 616 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 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 0 reply Please log in or register to add a comment.