Skip to content

Commit ef38f39

Browse files
committed
[:fixed] linelint
1 parent ea0550c commit ef38f39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

house-robber/ppxyn1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ def rob(self, nums: List[int]) -> int:
1717
for i in range(2, length):
1818
lst[i] = max(lst[i-1], lst[i-2] + nums[i])
1919

20-
return lst[-1]
20+
return lst[-1]
21+

0 commit comments

Comments
 (0)