Python icon indicating copy to clipboard operation
Python copied to clipboard

Slightly modified Knapsack problem.

Open bdyutish opened this issue 5 years ago • 1 comments

You have to choose some of the N items. Your knapsack has a capacity of W which means that the sum of the weights of items taken must be at most W. Item i has a weight of Wi and a value of Vi. Find the maximum possible sum of the values of items that you can home. The twist here being that the constraints for W is 1<=W<=1e9. 1<=Vi<=1e3.

Found this to be a very interesting variation of the popular knapsack problem and would love to contribute under hacktoberfest. Can this be assigned to me?

P.S : Code in Python.

bdyutish avatar Sep 30 '20 09:09 bdyutish

@bdyutish can u assign me this issue i am interested to solve this

Tejoooo avatar Oct 12 '23 13:10 Tejoooo