Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 183 Bytes

File metadata and controls

14 lines (12 loc) · 183 Bytes

Algoritmo 0/1-Knapsack-Problem Memoization

Input:

3 10 (3 items Peso máximo = 10)
45 5 (El primer item vale 45 y pesa 5)
48 8 (...)
35 3 (...)

Output:

80 [1, 3]