I could have sped mine up and simplified it by simply not considering the edges (edges get the -2 special case treatment as a crude workaround but it would be simpler to not even consider them)
I felt too ashamed and did this. It was an improvement. Shaved 4 seconds off too.
I could have sped mine up and simplified it by simply not considering the edges (edges get the -2 special case treatment as a crude workaround but it would be simpler to not even consider them)I felt too ashamed and did this. It was an improvement. Shaved 4 seconds off too.