/Kadane-s-Algorithm

Kadane's algorithm is a dynamic programming approach used to solve the maximum subarray problem, which involves finding the contiguous subarray with the maximum sum in an array of numbers. The algorithm was proposed by Jay Kadane in 1984 and has a time complexity of O(n).

Primary LanguageCGNU General Public License v3.0GPL-3.0

Stargazers

No one’s star this repository yet.