Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 777 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 777 Bytes

Advent of Code 2024

https://adventofcode.com/2024

Solutions written in JavaScript.

Usage

Set up new day

This script requires the aocdl session cookie to be configured

./set_up_day <day>

Run solution

node . <day>

Solution files

index.js

This is the code that was first used to solve the problem. Some clean-up has been made before committing.

improved.js

This improves the solution, making it more efficient, concise and readable.

oneliner.js

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.