Discussion thread for day 10 of the Advent of Code - https://adventofcode.com/2024/day/10
This was a nice one :)
This time I managed to answer to both parts with one solution
and Iterative macro
As others said, I had already solved Part 2 with my Part 1 solution. I also misread the question and thought Part 1 was asking for what it ended up asking for in Part 2. Worked out quite nicely when Part 2 unlocked.
I solved P1 in a crazy way and was able to use the workflow as is in P2.
After thinking about Day 9 for such a long time, day 10 was a gift!
Super easy. And like many, solved part 2 before part 1.