Codeforces-1373D-Maximum-Sum-on-Even-Positions Link: https://codeforces.com/problemset/problem/1373/D Kadane's Algorithm (Maximum Subarray Problem) Solution Reference Link: https://github.com/sourabhkanojia/CodeForces/blob/master/1373D%20-%20Maximum%20Sum%20on%20Even%20Positions.java