powered by
Solve a simple knapsack problem (Goal is to maximize the profit)
knapsack(n, capacity, profit, size)
number of items
total capacity of carrying weight
profit corresponding to each item
weight/size of each item