Re:Ask HN: What's your favorite elegant/beautiful algorithm?
by jaspervdj on Wednesday October 17, 2018 @08:14AM
(#18238192)
Not really, if you wanted to do a version using only immutable arrays:
The only difference with a mutable implementation is that you use a new array for every k, whereas in a mutable version you would reuse these.
[ Parent
| on HN ]
There are no comments on this comment yet.