Welcome! This is where I dump my solutions for the Advent of Code puzzles. I come back here every December to tackle the new challenges, time permitting.
I’m a big fan of AoC for a couple of reasons:
-
It's a blast: The puzzles are super clever, and let’s be honest, saving Christmas with code is just fun.
-
Staying sharp: It’s my favorite way to keep my Python skills fresh and stay up-to-date with new tricks, libraries, and logic.
I try to keep things organized by year and day, so feel free to poke around!
The folders are sorted by year, making it easy to find what you're looking for:
.
├── 2025/
│ ├── day01/
│ ├── day02/
│ └── ...
└── README.md
If you want to take any of these for a spin:
# Clone the repo:
git clone git@github.com:srgee/advent-of-code.git
# Hop into a specific day:
cd 2025/day01
# Copy your puzzle input (not available in this repo)
cp ~/downloads/input.txt .
# Run the script:
python part1.pyUse the automation script to create file structure automagically:
python scripts/new_day.py 5This creates a the folder hierarchy and python module templates for day 5 in 2025 folder.
Huge shoutout to the people who make this easier and more fun:
-
Eric Wastl (Topaz): For dreaming up Advent of Code and keeping the magic alive every year. You're a legend!
-
Trey Hunner: For his awesome automation script. It handles all the modular boilerplate so I can jump straight into the puzzles on Day 1.
This is all under the MIT License. Feel free to use the code to learn or compare notes with your own solutions.