I took the approach to solve them just using the Python's stdlib, but many puzzles require matrix-wise operations and numpy is a great fit for them! You might also take a look at these great solutions.
I took the approach to solve them just using the Python's stdlib, but many puzzles require matrix-wise operations and numpy is a great fit for them! You might also take a look at these great solutions.