Skip to content

Commit c017fa3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 87010e1 commit c017fa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dynamic_programming/kadane_algorithm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ def kadane(arr: list[int]) -> tuple[int, list[int]]:
5252
start = s
5353
end = i
5454

55-
return max_global, arr[start:end+1]
55+
return max_global, arr[start : end + 1]
5656

5757

5858
# Doctest runner
5959
if __name__ == "__main__":
6060
import doctest
61+
6162
doctest.testmod()

0 commit comments

Comments
 (0)