Skip to content

Commit b6436f7

Browse files
committed
Real Final resolve merge conflict
1 parent 62dad6b commit b6436f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ def productExceptSelf(self, nums: List[int]) -> List[int]:
88
p = 1
99
for i in range(n):
1010
result_list[i] = p
11-
p *= nums[i]
12-
11+
p *= nums[i]
12+
1313
p = 1
1414
for i in range(n - 1, -1, -1):
1515
result_list[i] *= p
1616
p *= nums[i]
1717

1818
return result_list
19-

0 commit comments

Comments
 (0)