shivangdubey / HacktoberFest2020

Repository to let enthusiasts create issues and pull requests for the Open Source event
MIT License
35 stars 278 forks source link

Kadane's Algorithm.cpp #527

Closed Kam149 closed 3 years ago

Kam149 commented 3 years ago

Kadane’s algorithm is used to find out the maximum subarray sum from an array of integers. The time complexity of the algorithm is O(n) and Space Complexity is O(1).

Kam149 commented 3 years ago

The question asked in codechef to find maximum sum of the elements in an array.