8000 Total Runtime: 806 ms · michaelhuang/LintCode_Python@2f5d48c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f5d48c

Browse files
committed
1 parent fdfbdbb commit 2f5d48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plus_One.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def plusOne(self, digits):
1212

1313
if carry == 1:
1414
digits.insert(0, carry)
15-
return digits
15+
return digits
1616

1717
if __name__ == '__main__':
1818
a1 = [1, 2, 3]

0 commit comments

Comments
 (0)
0