DEV Community

[Comment from a deleted post]
 
_rileyflynn profile image
rileyflynn

Thanks for all your insights, David. This is a really awesome solution. It didn't quite occur to me that I could have two separate accumulator loops (forward and reverse), and then combine the results like this.

You're definitely welcome to write this up in a post. That would be super interesting.