Domanda di colloquio di Canonical

Some question dealing with Knapsack problem