Advent of Code 2025
November 26, 2026A blog post about Advent of Code 2025 in 2026 - "why now?" you might rightly ask.
Well, as you might have seen in past blog posts, I really enjoyed these challenging brain teasers for a while but then in recent years I dropped out. In 2023 I collected only 22 stars, in 2024 only 16, and in 2025 I did not participate at all.
The reason was fatigue: it had become too much of an obsession and honestly took up too much of my days (or rather nights) during these December days. So I stopped.
When the Xmas mood set in this year (in early November, oddly enough), I got reminded of Advent of Code again and suddenly the passion was back. I'm not entirely sure why, but here are my guesses:
- Partly nostalgia, probably.
- Partly the fact that I can't write code in my current job role anymore.
- AI fatigue is probably another contributor. In all of my recent side projects I relied 100% on AI-written code. Here, I could suddenly write code manually again, which felt just right. Not so much the writing, though, but rather the process of solving these challenges, like puzzles or brain teasers.
- Finally, the new format - Eric Wastl (the mastermind behind Advent of Code) got fatigued as well. Having only 12 days (24 stars ⭐️ to collect) is much more compatible with family and life.
So, given all that, I started the 2025 puzzles and lo and behold: I completed them tonight!

Here's the GitHub repo with my solutions to the puzzles.
This brings me to a total of 462 stars 🤩!

As usual, let me highlight a few of the puzzles that I found especially interesting and/or hard.
Day 9
This one took me quite a while. It was relatively clear to me that I had to brush up on my geometric algorithms for that. I thought I had a clever solution by checking whether rectangle corners would fit into the polygon and finding an optimum this way. My algorithm worked with the sample data but not with the full input, and I spent way too many hours trying to find the fault.
What I should have done in the first place was visualize the polygon. This would have saved me so much time because it made my error obvious.

Seeing the shape of the polygon (the slit that nearly separates it) called for a better solution. But luckily, that's also a well-known geometric algorithm (which I had to look up, of course) - testing whether the whole shape is contained in the polygon. That solved it!
Day 10
This one was the most challenging for me. Not because it took me very long (I still spent hours on it, though) but because I was not 100% satisfied with my solution.
After trying different approaches, I was able to translate the challenge into linear equations and a well-known optimization problem.
With some research, I found the Google.OrTools package on NuGet, which let me solve the problem
easily. And there were my two stars ⭐️⭐️.
However, I was not satisfied because I was pretty sure that Eric Wastl would not expect us to use 3rd-party math libraries, let alone write our own linear equation solvers (which I had considered for a second).
And I was right: this thread describes an elegant solution to this problem that also builds on what part 1 was about.
Day 12
The final puzzle - and it brought me to the verge of tears initially 😭. A Tetris-like task in which we had to pack "parcels" in an optimal way, deciding whether they would fit into a given area.
My initial hunch was to start with an approximation and use just the 3x3 "bounding box" for the presents. This failed immediately for the
sample data, so I gave up on that - too soon, as it turned out.
After fruitless hours of thought and various approaches, I ran that approximation on the real data, entered the result - and had the puzzle solved. I felt so stupid 🙈 - I should have trusted my first instinct.
More To Come?
- Will I start Advent of Code 2026? Definitely!
- Will I finish it? Maybe - no promises, though 🤷♂️.
- Will I go on a frenzy and collect all remaining stars for 2023 and 2024? Unlikely, but maybe this is my long game, and when the Xmas mood sets in next year, I will pick up where I left off.
In any case, you'll hear about it on this blog - Happy holidays! ❅🎄❅