Comment Comment by PragmaticPulp Obviously there is infinite room for optimization of this problem, but this was a fun blog post. I’m interested to see where the author goes with the series. parent PragmaticPulp 5 years ago