We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96b0eb commit 107c885Copy full SHA for 107c885
house-robber/jungsiroo.py
@@ -36,3 +36,4 @@ def rob(self, nums: List[int]) -> int:
36
record[0][i] = max(record[1][i-1], record[0][i-1])
37
38
return max(record[1][-1], record[0][-1])
39
+
0 commit comments