Skip to content

Commit

Permalink
Update dynamic_programming/01knapsack_recursive.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Parowicz <[email protected]>
  • Loading branch information
mohammadreza490 and Parowicz authored Feb 9, 2021
1 parent f667431 commit b005f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamic_programming/01knapsack_recursive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void main() {
expect(knapSackProblem(10, [1, 4, 5, 6], [2, 3, 6, 7]), 10);
});

ans = knapSackProblem(5, 100, [2, 70, 30, 69, 100], [1, 70, 30, 69, 100]);
ans = knapSackProblem(100, [2, 70, 30, 69, 100], [1, 70, 30, 69, 100]);
print(ans);

test('TC: 2', () {
Expand Down

0 comments on commit b005f87

Please sign in to comment.