This repository contains my solutions to the Advent of Code (2024) challenges implemented in JavaScript.
- 2024
- day-1
- part_1.js
- part_2.js ...
- day-1
Each day's challenge is split into two parts:
part_1.js: Solution for part 1 of the daily challenge
part_2.js: Solution for part 2 of the daily challenge
data.txt: Input data for the challenge
To run a solution:
cd 2024/day-X/
node part_1.js
node part_2.js| Day | Part 1 | Part 2 |
|---|---|---|
| 1 | β | β |
| 2 | β | β |
| 3 | β | β |
| 4 | β | β |
| 5 | β | β |
| 6 | β | β |
| 7 | β | β |
| 8 | β | β |
| 9 | β | β |
| 10 | β | β |
| 11 | β | β |
| 12 | β | |
| 13 | β | |
| 14 | β | |
| 15 | ||
| 16 | β | |
| 17 | β | |
| 18 | β | β |
| 19 | β | β |
| 20 | ||
| 21 | ||
| 22 | β | |
| 23 | ||
| 24 | ||
| 25 |
The repository includes aoc-day-download.sh script to download daily input and create solution files.
Remember to add your session token to aoc-day-download.sh to download inputs automatically.