Leetcode Maximum Subarray Problem Gfg Contest