Advent of Code 2018 solutions.
These are in JavaScript (mostly ES6), and are intended to be run in Node.js. I make no claims that these are the best solutions by any stretch of the imagination, but if they're pushed here, they do at least work.
Most solutions:
- Can be run with no arguments beyond the filename, e.g.
node star1.js - Should be run with
dayXXas the working directory (becuase they read input as./input.txt) - Use
input.txtas a means of feeding in my specific input generated by the Advent of Code website - Can replace contents of
input.txtwith your own input data to see it work for your cases - Use
small_input.txtto replicate example input from the problem description (small-scale or base case algorithm POC)