Maximum Subarray Leetcode Practice Python Questions