From 557d170c81de98d2ff67670bf9ffa0e8b216fc20 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Sat, 20 Apr 2019 14:39:00 +0530 Subject: [PATCH] Update solution.md Changed the sign on line 32,33. --- 1-js/05-data-types/04-array/10-maximal-subarray/solution.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/05-data-types/04-array/10-maximal-subarray/solution.md b/1-js/05-data-types/04-array/10-maximal-subarray/solution.md index edf39289..daadf494 100644 --- a/1-js/05-data-types/04-array/10-maximal-subarray/solution.md +++ b/1-js/05-data-types/04-array/10-maximal-subarray/solution.md @@ -29,8 +29,8 @@ For instance, for `[-1, 2, 3, -9, 11]`: -9 -9 + 11 -// Starting from -11 --11 +// Starting from 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.