Examveda

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?

A. 160

B. 200

C. 170

D. 90

Answer: Option A


Join The Discussion

Related Questions on Dynamic Programming in Data Structures