Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan

Maximum Value Contiguous Subsequence

Language Java | Level Intermediate | Category Algorithms | August 4, 2015 9:23 am


Algorithm Problem Description

Write program to find the sum of subarray within a one-dimensional array of numbers which has the largest sum.

Output

          	        
          	        

No of Maximum value array: 3
0 to 0
0 to 1
0 to 2

          	        
          	        				    


Comments



Please login to add comments.