Question: you are given a knapsack that can carry a maximum weight of 6 0 . There are 4 items with weights { 2 0 ,

you are given a knapsack that can carry a maximum weight of 60. There are 4 items with weights {20,30,40,70} and values {70,80,90,200}. What is the maximum value of the items you can carry using the knapsack?
160
200
170
90

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!