Maximum Subarray Problem Leetcode Python Compiler