Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 184 Bytes

File metadata and controls

16 lines (12 loc) · 184 Bytes

Algoritmo 0/1-Knapsack-Problem Tabulation

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]