brianchan.us
Find the max possible sum from all contiguous subarrays of a given array
Given an array of integers, find the maximum possible sum you can get from one of its contiguous subarrays. The subarray from which this sum comes must contain at least 1 element. For inputArray = …