Solutions for the 2021's Advent of Code challenges. Written in Python3 with some exceptions in Go.
To run the solutions from the command line:
$ python3 solve.py < input.py
To run the unit tests that some solutions include:
$ python3 -m unittest <name>_test.py
- test_input.txt: the input data in the example.
- input.txt: the problem's input
- solve.py: solution to the first part of each challenge
- solve_p2.py: solution to the second part of each challenge