Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Coding challenge: largest possible sum from consecutive numbers v4

Language: Layout:
+ ] Show input
Absolute running time: 0.14 sec, cpu time: 0.03 sec, memory peak: 6 Mb, absolute service time: 0,14 sec 
edit mode |  history
For the original integer array of [-1, -1, 1, -1, 2]
The largest summed consecutive sub array: [[1, -1, 2]] with a sum of 2.

    
                
λ
.NET NoSQL database for rapid development