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 | ✅ |