June 2024
Intermediate to advanced
408 pages
7h 17m
English
|
Name
|
Type
|
Example Input
|
Description
|
|
items
|
list of tuples
|
[(5, 2),
(1, 1000),
(100, 1),
(25, 25),
(2, 1000)]
|
[(weight, value), ...]
|
|
knapsack_capacity
|
int
|
5
|
Read now
Unlock full access