Tech Mahindra interview question

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