Advent of Code 2022 solutions in typescript
I'm aiming for solutions that have few lines of code while being reasonably readable.
Set up by installing nodejs and running npm i
in the repo's directory.
Run with npm run solve [day number]
, i.e. npm run solve 1
for day 1's puzzle.
If the solve
script doesn't work, use npm run solveAlt -- src/day1/solution.ts
, or substitute the number for any number from 1-25.