Juha-Matti Santala
Community Builder. Dreamer. Adventurer.

Advent of Code - 2021

With Python and Jupyter Notebooks in my toolbox, I ventured to the deep sea to solve puzzles and help Santa and the elves save the Christmas. My solutions combine Python code with commentary on the puzzles and some of the libraries and techniques I used.

From the navigation above, you can find each day and their solutions.

On December 25th, 2021, I reached 45 stars (missing days 19 and 24 + the second star of the 25th).

Conventions used

Text in blockquotes like this is from Advent of Code puzzle descriptions

Regular text like this is my commentary

Code like this is part of my solution (or an example)


You can find the runnable versions of these Jupyter Notebooks from my GitHub at hamatti/adventofcode-2021.

All code is run with Python 3.10 or newer. The main features used from 3.10 are pattern matching and itertools.pairwise, both of them can be done with other means but I recommend updating to 3.10 since it's a fantastic version.