Nextuple interview question

max subarray length with sum is positive