Skip to content

Files

Latest commit

e0b7d57 · Dec 9, 2023

History

History

2021

Advent of Code 2021

Spoiler Warning: If you want to solve the challenges by yourself, don't read the code.

This directory contains the code I used to solve the challenges from Advent of Code 2021.

This year I'm going with TypeScript using deno. Solutions can be run with ./main.ts.

Contents

The following table lists the available solutions by day and language. I also added a short summary for each day.

Day Deno Visual Description
01 Increasing or decreasing submarine depths
02 Diving with a submarine
03 Finding most common binary digits
04 Bingo against giant squid
05 Line coverage
06 Exponential Lanternfish breeding and counting
07 Crab fuel alignment
08 Seven-segment display cryptanalysis
09 Low points and smoke basins
10 Advanced bracket mathing
11 Flashing energy fields
12 ? Finding longest paths in a graph
13 ? Folding overlapping points on a plane
14 Polymer counting
15 Pathfinding
16 ? Binary numbers packet decoder/parser
17 Trick shot caluclating trajectories
18 Snailfish math number list exploding
19 3D point cloud matching
20 ? Special Rule Game Of Life
21 Universe split dice roll game
22 ? Reactor cube intersections
23 ? Amphipod Burrow movements
24 ? Reverse engineering assembler code
25 ? Sea cucumber vertical/horizontal gridlock
Σ 24 8

Other solutions

I enjoy looking at how other coders solved the riddles to learn even more. This year I follow (A-Z):