Advent of Code 2021 in Spreadsheets

Advent of Code is “an advent calendar of small programming puzzles”. Each puzzle comes with an example input and output. The site generates a unique challenge file0 for each user, and rewards them for solving it.

(0) These files dwarf the example input and output. This tests that solutions can scale.

Programmers race on time to get onto a global leaderboard. I’m more interested in racing towards the bottom of technology stacks. I want to answer the question, can you do a full advent of code calendar in Google Sheets1?

(1) Why not excel? I don’t own an office license. 😛

I encourage you to browse the advent of code challenges. Each puzzle gets a story fitting the advent of code lore.

Rules

Solving “in Google Sheets” is too permissive. Google Sheets provides functionality to write JavaScript.

Progress*

Sun Mon Tue Wed Thu Fri Sat
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
❄️ ❄️ ❄️ ❄️ ❄️ ❄️ ❄️

(*) I'm coming back to this project. Subscribe here!