Tech Mahindra Interview Question

Given an array, find the maximum sum of any contiguous subarray