/advent2021

Solutions to Advent od Code 2021, Python and Rust

Primary LanguageJupyter Notebook

My solutions (both Python, Rust and Kotlin) for Advent of Code 2021.

Rules this year

  • Don't rush the leaderboard, starting time doesn't matter
  • Solve all problems before day 25
  • No checking Internet before solved (treat it as a "job interview")
  • Use the same algorithm for implementations in all languages
  • Initial solutions made in Jupyter lab (see the notebooks folder), then factored into a folder structure

Running

Rust:

$ cd rust && ./run.sh

Python:

$ cd python && ./run.sh

Kotlin:

$ cd kotlin && ./run.sh

There are also corresponding Jupyter notebooks for both Python, Rust and Kotlin.