227 - The Maximum Subarray | Dynamic Programming | Hackerrank Solution | Python