Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/knutkirkhorn/advent-of-code

🎄 My solutions for Advent of Code
https://github.com/knutkirkhorn/advent-of-code

advent-of-code advent-of-code-2021 advent-of-code-2021-javascript advent-of-code-2022 advent-of-code-2022-javascript advent-of-code-2023 advent-of-code-2023-javascript adventofcode adventofcode2021 adventofcode2022 adventofcode2023 javascript nodejs

Last synced: about 2 months ago
JSON representation

🎄 My solutions for Advent of Code

Awesome Lists containing this project

README

        

# advent-of-code

> 🎄 My solutions for [Advent of Code](https://adventofcode.com)

## Setup (optional)

Set the `COOKIE_SESSION` environment variable to download input files if not found locally.

## Run solutions

```sh
# Run given day (if current date is between 1. december and 25. december)
node index.js

# Run first day of current year
node index.js 1

# Run first day of 2022
node index.js 2022 1

# Rerun on file change
bun dev
```

## Solutions

### 2024

- [Day 1: Historian Hysteria](solutions/2024/01/01.js)

### 2023

- [Day 1: Trebuchet?!](solutions/2023/01/01.js)
- [Day 2: Cube Conundrum](solutions/2023/02/02.js)
- [Day 3: Gear Ratios](solutions/2023/03/03.js)
- [Day 4: Scratchcards](solutions/2023/04/04.js)
- [Day 5: If You Give A Seed A Fertilizer](solutions/2023/05/05.js)
- [Day 6: Wait For It](solutions/2023/06/06.js)
- [Day 8: Haunted Wasteland](solutions/2023/08/08.js)

### 2022

- [Day 1: Calorie Counting](solutions/2022/01/01.js)
- [Day 2: Rock Paper Scissors](solutions/2022/02/02.js)
- [Day 3: Rucksack Reorganization](solutions/2022/03/03.js)
- [Day 4: Camp Cleanup](solutions/2022/04/04.js)
- [Day 5: Supply Stacks](solutions/2022/05/05.js)
- [Day 6: Tuning Trouble](solutions/2022/06/06.js)
- [Day 7: No Space Left On Device](solutions/2022/07/07.js)
- [Day 8: Treetop Tree House](solutions/2022/08/08.js)
- [Day 9: Rope Bridge](solutions/2022/09/09.js)
- [Day 10: Cathode-Ray Tube](solutions/2022/10/10.js)
- [Day 11: Monkey in the Middle](solutions/2022/11/11.js)

### 2021

- [Day 1: Sonar Sweep](solutions/2021/01/01.js)