Update solution.md

Changed the sign on line 32,33.
This commit is contained in:
Himanshu Singh 2019-04-20 14:39:00 +05:30 committed by GitHub
parent 79f0463dc4
commit 557d170c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,8 +29,8 @@ For instance, for `[-1, 2, 3, -9, 11]`:
-9 -9
-9 + 11 -9 + 11
// Starting from -11 // Starting from 11
-11 11
``` ```
The code is actually a nested loop: the external loop over array elements, and the internal counts subsums starting with the current element. The code is actually a nested loop: the external loop over array elements, and the internal counts subsums starting with the current element.