← blog

Twelve Days

Advent of Code 2025: one post per puzzle, solved step by step in Python, with an animation per part.

The 2025 event was the first with twelve puzzles instead of twenty-five. Each part starts from a plain first version and moves one step at a time to the version worth keeping, saying what each step changes and why. Python only.

They were written without a puzzle input of my own, so every solution here is checked against the puzzle’s examples (and, where speed matters, against generated inputs of the real size), not against an answer submitted on the site. Each post says what was run.

The solutions link to the puzzles and describe them in my own words; the puzzle texts belong to Advent of Code.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12

The days so far