hhoppe / advent_of_code_2017

Python notebook with solutions and timings for the 2017 Advent of Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of code 2017

Content is now moved into https://github.com/hhoppe/advent_of_code/

[Open the notebook in Colab]

IPython/Jupyter notebook by Hugues Hoppe with solutions to the 2017 Advent of Code puzzles. Completed in November 2022.

In this notebook, I explore both "compact" and "fast" code versions, along with data visualizations.

I was able to speed up all the solutions such that the cumulative time across all 25 puzzles is about 2 s. (For some puzzles, I had to resort to the numba package to jit-compile Python functions.)

Here are some visualization results:

day14day22
day21

About

Python notebook with solutions and timings for the 2017 Advent of Code

License:MIT License


Languages

Language:Jupyter Notebook 82.7%Language:Python 17.3%