Skip to content

Commit a234b58

Browse files
committed
🚨 added newline
1 parent 4a6c717 commit a234b58

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

house-robber/yayyz.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,4 @@ def rob(self, nums: List[int]) -> int:
1414
dp[i] = max(dp[i-1], dp[i-2] + nums[i])
1515

1616
return dp[-1]
17-
18-
19-
17+

longest-consecutive-sequence/yayyz.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ def longestConsecutive(self, nums: List[int]) -> int:
1818
result = max(result, currLength)
1919
lastNum = nums[i]
2020

21-
return result
22-
23-
21+
return result
2422

2523

product-of-array-except-self/yayyz.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ def productExceptSelf(self, nums: List[int]) -> List[int]:
1414
postfix *= nums[i]
1515

1616
return output
17-
18-
17+
1918

2019

0 commit comments

Comments
 (0)