Update solution.md
Changed the sign on line 32,33.
This commit is contained in:
parent
79f0463dc4
commit
557d170c81
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue