Skip to content

Commit 0f93e9f

Browse files
Fix indices
1 parent cb18289 commit 0f93e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/product_of_array_except_self.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
2525
Scratch:
2626
27-
i
27+
j
2828
29-
j [1, 2, 3, 4, 5] -> 120
29+
i [1, 2, 3, 4, 5] -> 120
3030
↓ [1, 1, 3, 4, 5] -> 60
3131
[1, 2, 1, 4, 5] -> 40
3232
[1, 2, 3, 1, 5] -> 30

0 commit comments

Comments
 (0)