diff --git a/db/d16/0__1__knapsack_8cpp.html b/db/d16/0__1__knapsack_8cpp.html index 33ace1077..bfefccf6a 100644 --- a/db/d16/0__1__knapsack_8cpp.html +++ b/db/d16/0__1__knapsack_8cpp.html @@ -130,10 +130,10 @@ Namespaces Functions
Picking up all those items whose combined weight is below given capacity and calculating value of those picked items.Trying all possible combinations will yield the maximum knapsack value.
+Picking up all those items whose combined weight is below the given capacity and calculating the value of those picked items. Trying all possible combinations will yield the maximum knapsack value.
| n | size of the weight and value array |
| capacity | capacity of the carrying bag |
| weight | array representing weight of items |
| value | array representing value of items |
| weight | array representing the weight of items |
| value | array representing the value of items |
Function to test above algorithm.
+Function to test the above algorithm.