Solutions written in JavaScript.
This script requires the aocdl session cookie to be configured
./set_up_day <day>
node . <day>
This is the code that was first used to solve the problem. Some clean-up has been made before committing.
This improves the solution, making it more efficient, concise and readable.
This solution is meant to be run in the browser console on the problem input page. It will print out an array with the solution to both part 1 and part 2. Line breaks have been added only for readability.