Re:Hiring Is Broken: What Do Developers Say About Technical ...
by pjscott on Friday August 16, 2019 @06:00PM
(#20720132)
Huh! That's a bit more brutishly forceful than I was expecting, and I concede the point. It hadn't occurred to me to stick that innermost loop in there rather than keeping a running sum in the second loop.
[1]: https://en.wikipedia.org/wiki/Maximum_subarray_problem