Sollicitatievraag bij Comcast

Find the subarray which will give a largest sum