Skip to content

Commit afb6135

Browse files
authored
Update Dynamic-Programming.md
1 parent 4af8cb0 commit afb6135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Notes/Dynamic-Programming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ At capacity _j_ = 5, previously when we didn't have the item, we could get at mo
242242
|---|---|---|---|---|---|---|---|---|
243243
| | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
244244
| w = 3, v = 25 | 1 | 0 | 0 | 0 | 25 | 25 | 25 | 25 |
245-
| w = 2, v = 20 | 2 | 0 | 0 | 20 | 25 | 25 | 25 | 25 |
245+
| w = 2, v = 20 | 2 | 0 | 0 | 20 | 25 | 25 | 45 | 45 |
246246
| w = 1, v = 15 | 3 | | | | | | | |
247247
| w = 4, v = 40 | 4 | | | | | | | |
248248
| w = 5, v = 50 | 5 | | | | | | | |

0 commit comments

Comments
 (0)