Skip to content

Commit c883ca1

Browse files
committed
2020-05-10
1 parent 279f90d commit c883ca1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

面试题66.构建乘积数组/面试题66-构建乘积数组.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ def constructArr(self, a):
1212
for i in range(len(a) - 2, -1, -1):
1313
right[i] = right[i + 1] * a[i + 1]
1414

15-
return [left[i] * right[i] for i in range(len(a))]
16-
15+
return [left[i] * right[i] for i in range(len(a))]

0 commit comments

Comments
 (0)