Skip to content

Latest commit

 

History

History

knapsack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Knapsack Problem

You have some objects, and a knapsack. The objects have values and weight, and the knapsack have a capacity. What is the set of objects that will have the maximum cost, such that the sum of their weight can fit in the knapsack?