Maximum Subarray Problem Leetcode Python Compiler With Matplotlib