Maximum Subarray Leetcode Python Easy Password