Skip to content

Commit b9a89be

Browse files
Update max_sub_array.py
Merge duplicate implementations of Maximum Subarray Sum TheAlgorithms#8609
1 parent 1372675 commit b9a89be

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: dynamic_programming/max_sub_array.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"""
55
from __future__ import annotations
66

7-
87
def max_sub_array(a: list[int]) -> int:
98
"""
109
return the largest sum of a contiguous subarray.

0 commit comments

Comments
 (0)