Skip to content

Commit 14a2041

Browse files
committed
formatting
1 parent dc23e61 commit 14a2041

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

3sum/mrlee7.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def threeSum(self, nums: List[int]) -> List[List[int]]:
3131
else:
3232
right -= 1
3333

34-
return result
34+
return result

climbing-stairs/mrlee7.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Solution:
22
def climbStairs(self, n: int) -> int:
3-
stairs = {1: 1, 2:2}
3+
stairs = {1: 1, 2: 2}
44

55
for i in range(3, n + 1):
66
stairs[i] = stairs[i - 1] + stairs[i - 2]
77

8-
return stairs[n]
8+
return stairs[n]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def productExceptSelf(self, nums: List[int]) -> List[int]:
1515
result[index] *= suffix_product
1616
suffix_product *= nums[index]
1717

18-
return result
18+
return result

0 commit comments

Comments
 (0)