Maximum Subarray Problem Leetcode Python Challenges