Advent of Code in Python

March 6, 2025 · View on GitHub

Currently migrating my python solutions from 2015-2021 from another repo, why not all solutions are available here yet.

Includes a runner script runner.py. For usage: python runner.py -h

Implements a class based structure with a Puzzle main class located in the common directory.

2024:

DayStarsTiming Part 1Timing Part 2Comment
1⭐⭐
2⭐⭐
3⭐⭐
5⭐⭐
7⭐⭐Inefficient algorithm but works
8⭐⭐
9⭐⭐
10⭐⭐Always fun to reuse something from the "library"
11⭐⭐Always fun to reuse something from the "library"
13⭐⭐Numpy isn't always fast.
14⭐⭐Slow but interesting part 2

2023:

DayStarsTiming Part 1Timing Part 2Comment
1⭐⭐
2⭐⭐
3
4⭐⭐
5⭐⭐
6⭐⭐
7⭐⭐
8⭐⭐
9⭐⭐
10⭐⭐
11⭐⭐
12Nasty, time and space consuming solution. Works for part 1 but takes an eternity for part 2
13⭐⭐Straightforward. Should be possible to simplify

2022:

DayStarsTiming Part 1Timing Part 2
1⭐⭐
2⭐⭐
3⭐⭐
4⭐⭐
5⭐⭐
6⭐⭐
7⭐⭐
8⭐⭐
9⭐⭐
10⭐⭐
11⭐⭐
12⭐⭐
13⭐⭐
14⭐⭐
15
18⭐⭐
20⭐⭐
21⭐⭐
25

2021:

DayStarsTiming Part 1Timing Part 2
1⭐⭐
2⭐⭐
3⭐⭐
4⭐⭐
5⭐⭐
6⭐⭐
7⭐⭐
8⭐⭐
9⭐⭐
10⭐⭐
11⭐⭐
12⭐⭐
13⭐⭐
14⭐⭐
18⭐⭐

2020:

DayStarsTiming Part 1Timing Part 2
1⭐⭐
2⭐⭐
3⭐⭐
4⭐⭐
5⭐⭐
6⭐⭐
7⭐⭐
10⭐⭐
16⭐⭐

2018:

DayStarsTiming Part 1Timing Part 2
2⭐⭐

2017:

DayStarsTiming Part 1Timing Part 2
1⭐⭐
2⭐⭐
3⭐⭐