You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: problems/1508/jeremymanning.md
+3
Original file line number
Diff line number
Diff line change
@@ -84,4 +84,7 @@ class Solution:
84
84
85
85
Ok!
86
86
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!
0 commit comments