Myntra Interview Question

Find subarray with maximum sum