Azuga interview question

2. Maximum sum in a continuous subarray