15 comments (15 comments)0 reactions (0 reactions)0 assignees (0 assignees)C++3,724 forks (3,724 forks)batch import
Hacktoberfestadd codenew algorithm
Repository metrics
- Stars
- 13,462 stars (13,462 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
For eg :- If the array is -3 2 -1 0 4 7 then the largest sum is 12 ( 2+(-1)+0+4+7)
Contributor guide
- Research direction
- Implement Kadane's algorithm to find the maximum sum of a contiguous subarray in C++. Add a function that takes an array and returns the maximum sum. Include test cases with the given example and edge cases.
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Prerequisites
- C++Git