Nagarro Interview Question

Find largest sum of a subarray