Maximum Subarray Leetcode Python Compiler