Tredence interview question

Find the max sum of a contiguous sub-array from a given array