Kadane's Algorithm is a popular algorithm used to solve the maximum subarray sum problem efficiently in O(n) time. It finds the largest sum of a contiguous subarray within a one-dimensional array of numbers (both positive and negative).
-
Notifications
You must be signed in to change notification settings - Fork 0
thinkphp/kadane-algorithm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Largest Sum Contiguous Subarray.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published