Exercises for the 2019 Advent of Code
Here's the link to this year's Advent of Code: https://adventofcode.com/2019. It's created by Eric Wastl and consists of 50 puzzles that can be solved in any programming language.
My main goal with these exercises is to feel confident writing tests and having them run via continuous integration. So the solutions are probably overengineered, but they're really valuable learning tools for me ๐
You can run each of my solutions via Binder.
You should be able to test all the code in the terminal by typing:
python -m pytest --cov -v
And you can run all the code by typing:
for puz in `ls -d day??/day??_puz?.py`; do python ${puz}; done
Day | Puzzle | Description | Progress |
---|---|---|---|
1 | 1 | day01 | โ |
1 | 2 | โ | |
2 | 1 | day02 | โ |
2 | 2 | โ | |
3 | 1 | day03 | โ |
3 | 2 | โ | |
4 | 1 | day04 | โ |
4 | 2 | โ | |
5 | 1 | day05 | โ |
5 | 2 | โ | |
6 | 1 | day06 | โ |
6 | 2 | โ |