Akamai interview question

Unbounded knapsack problem coding challenge