Rules of Optimization: Rule 1: Don't do it. Rule 2 (for experts only): Don't do it yet. Michael A. Jackson
Write program to find the sum of subarray within a one-dimensional array of numbers which has the largest sum.
No of Maximum value array: 3 0 to 0 0 to 1 0 to 2