Maximum Sum Subarray from Ends | Hello Interview