Advent of Code is yearly computer programming challenges that follow an Advent calendar. Puzzles consist of two parts that must be solved in order, with the second part becoming visible once the first part is solved correctly.
- 2015 (solutions, site)
- 2016 (solutions, site)
- 2017 (solutions, site)
- 2018 (solutions, site)
- 2019 (solutions, site)
- 2020 (solutions, site)
- 2021 (solutions, site)
- 2021 (solutions, site)
This repository is setup using Poetry and uses Jupyter Notebook for code development. The notebooks are processed via jupytext to move between notebooks (.ipynb
) and Python files.
If you wish to generate the ipynb
files, you can uncomment the tool.jupytext.formats
part of the pyproject.toml
and enable a pre-commit hook to run juyptext-sync
.
Add a new year (or notebooks)
- Navigate in Jupyter to
solutions/
- Create a new notebook using your favorite kernel
- Watch a python file be automagically created in the
solutions
folder (if you activated the option). - Enjoy