Skip to content

Commit 826d7c2

Browse files
note on 1508
1 parent 585138e commit 826d7c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

problems/1508/jeremymanning.md

+3
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,7 @@ class Solution:
8484

8585
Ok!
8686

87+
## Addendum
88+
89+
In retrospect: the sorting idea would *not* have worked, because it would have broken the "continuous subarrays" requirement in the problem description (i.e., sorting would break the given order). So that whole idea was flawed 🙃. I'm glad the "naive" approach worked!
8790

0 commit comments

Comments
 (0)