Maximum Subarray Leetcode Python Challenges