Skip to content

Commit 8c55477

Browse files
committed
Update integer-break.py
1 parent 100b7e9 commit 8c55477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/integer-break.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def integerBreak(self, n):
2727

2828
# Proof.
2929
# 1. Let n = a1 + a2 + ... + ak, product = a1 * a2 * ... * ak
30-
# - For each aj >= 4, we can always maximize the product by:
30+
# - For each ai >= 4, we can always maximize the product by:
3131
# ai <= 2 * (ai - 2)
3232
# - For each aj >= 5, we can always maximize the product by:
3333
# aj <= 3 * (aj - 3)

0 commit comments

Comments
 (0)