Advent of Code 2025 - December 7th
dev.to·16h·
Discuss: DEV
🔧Code Refactoring Patterns
Preview
Report Post

In this series, I’ll share my progress with the 2025 version of Advent of Code.

Check the first post for a short intro to this series.

You can also follow my progress on GitHub.

December 7th

The puzzle of day 7 was not that hard. My solution for part one was totally unusable for part two, but it was quite straightforward to come up with a new approach.

My pitfall for this puzzle: Maybe there is a way to solve both parts with the same approach but I did not manage to do that.

Solution here, do not click if you want to solve the puzzle first yourself

#include <cassert>
#include <fstream>
#include <iostream>
#include <set>
#include <map>
#include <s...

Similar Posts

Loading similar posts...