Data-Structures-And-Algorithms-Hacktoberfest18 icon indicating copy to clipboard operation
Data-Structures-And-Algorithms-Hacktoberfest18 copied to clipboard

Kadane's Algorithm

Open Kam149 opened this issue 5 years ago • 1 comments

Kadane's algorithm is used to find the maximum sum of a contiguous subarray. Array can consists of both positive and negative elements. Kadane's algorithm is based on the idea of looking for all positive contiguous subarray and find the maximum sum of a contiguous subarray.

Kam149 avatar Oct 31 '20 13:10 Kam149

A new algorithm in c# has been added known as Kadane's Algorithm.

Kam149 avatar Oct 31 '20 13:10 Kam149