Advent of Code 2025

Here we go again! Christmas needs saving and what a better way to save it than solving Advent of Code puzzles.

This year, I’m doing a few of things:

  1. I’m solving these puzzles with Python
  2. I’m writing explanations to help people learn Python and software development
  3. I’m publishing all my notes in this digital garden, see below

I’ve been writing and talking about the benefits of taking good notes as a software developer. I want to show how Advent of Code can be a good way to get started. To inspire new people to start taking notes, I’m sharing all of my notes: solution explanations and technical notes about relevant topics.

From this repository in GitHub, you can find the code solutions. For explanations, check links to daily notes below.

Personal scoreboard

  • Day 1: code : explanation

How to run my code

  1. Create a folder inputs/ in the root.
  2. For each day’s input, create a inputs/day_{daynro}.txt file.
  3. Optionally, create inputs/day_{daynro}_example.txt file with an example input from the puzzle description.
  4. cd src/
  5. uv run day_1.py (replace 1 with the day you want to run)
  6. To run with the example code, add example=True to read_input call in that day’s code.

0 items under this folder.