This is quite an amazing article, which takes time to read (cca 2hrs). I highlighted it because it’s explanation of modulo arithmetic and the approach of solving a set of linear congruences is so clear. The implementation is somewhat over the top for advent of code problems, but I think Amos just wanted to have fun with an unusual, off the beaten path approach. Insightful and worth reading.
This is quite an amazing article, which takes time to read (cca 2hrs). I highlighted it because it’s explanation of modulo arithmetic and the approach of solving a set of linear congruences is so clear. The implementation is somewhat over the top for advent of code problems, but I think Amos just wanted to have fun with an unusual, off the beaten path approach. Insightful and worth reading.