Nagarro interview question

Sum of subarray in a given array