Finding the best sequence...
Processing secrets: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████| 2443/2443 [00:50, 48.50it/s]
Finding the best sequence...
Processing secrets: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████| 2443/2443 [00:50, 48.50it/s]
I was not impressed with GitHub Copilot.
I was not impressed with GitHub Copilot.
I consulted a spoiler for Part 2. I didn't want to brute force.
I consulted a spoiler for Part 2. I didn't want to brute force.
I had the help of an LLM, but I learned about the NetworkX library in the process and generated nice output with Matplotlib.
The first solution didn't scale, but I reimplemented with BFS.
I had the help of an LLM, but I learned about the NetworkX library in the process and generated nice output with Matplotlib.
The first solution didn't scale, but I reimplemented with BFS.
not np.any(grid > 1)
not np.any(grid > 1)
Oops! I did Part 2 before Part 1 because I forgot to track visited.
Oops! I did Part 2 before Part 1 because I forgot to track visited.
📎 jyc.dev/at/peterwarn...
What about 🫵 ? 🐾 ! ?
📎 jyc.dev/at/peterwarn...
What about 🫵 ? 🐾 ! ?
(post ones you like below)