2021
2020
Day | Puzzle | Solution |
---|---|---|
1 | Report Repair | src/2020/day-01 |
2 | Password Philosophy | src/2020/day-02 |
3 | Toboggan Trajectory | src/2020/day-03 |
4 | Passport Processing | src/2020/day-04 |
5 | Binary Boarding | src/2020/day-05 |
2015
# clone repository
$ git clone git@github.com:jgmcelwain/advent-of-code.git
# enter directory
$ cd advent-of-code
# install dependencies
$ yarn
# runs jest test suite for all days
$ yarn test
# runs jest test suite for a given day
$ yarn test 2022/day-01
# runs the solution for a given day
$ yarn solution 2022/day-01