Maximum Subarray III(LintCode 43):

Problem