Advent of Code 2025 - Day 7
yordi.me·4h
💡New and interesting problems
Preview
Report Post
  • 07 Dec, 2025 *

The first Sunday of Advent of Code. Eric Wastl, the creator, must think we have loads of time in the weekend to solve code puzzles all day. Well, I certainly don’t, but I made it through. Here’s how.

Check out my full solution for day 7 at GitHub.

I’m actually not going part by part in this post today. I’ve refactored a lot of code for part two and re-added logic for part one back into it. So let’s go backwards and start with part two.

Part two

In both parts, we start with the following problems space:

.......S.......
...............
.......^.......
...............
......^.^......
...............
.....^.^.^.....
...............
....^.^...^....
...............
...^.^...^.^...
...............
..^....

Similar Posts

Loading similar posts...