Skip to content

Commit 107c885

Browse files
committed
House Robber solution fix
1 parent d96b0eb commit 107c885

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

house-robber/jungsiroo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ def rob(self, nums: List[int]) -> int:
3636
record[0][i] = max(record[1][i-1], record[0][i-1])
3737

3838
return max(record[1][-1], record[0][-1])
39+

0 commit comments

Comments
 (0)