Solutions to the 2022 Advent of Code.
Total stars: ★50!
The red dotted line denotes 15 seconds.
* means that a given day has a visualisation
Day | Status | Solutions | Notes |
---|---|---|---|
01 - Calorie Counting | ★ ★ | Python, Nim, Java | Summing numbers |
02 - Rock Paper Scissors | ★ ★ | Python, Nim | Programmatically playing Rock Paper Scissors |
03 - Rucksack Reorganization | ★ ★ | Python, Nim | Sets and intersections |
04 - Camp Cleanup | ★ ★ | Python, Nim | More sets and more intersections! |
05 - Supply Stacks | ★ ★ | Python, Nim | Believe it or not, this one involved stacks. |
06 - Tuning Trouble | ★ ★ | Python, Nim | This is the first year I've not repeatedly forgotten about the existence of sets, and it's coming in quite handy. |
07 - No Space Left On Device | ★ ★ | Python | Turns out that fake file systems are prone to very subtle and infuriating bugs. |
08 - Treetop Tree House | ★ ★ | Python | Magical coordinate dictionary tuple things do be magical. |
09 - Rope Bridge | ★ ★ | Python, Nim | Does this count as this year's first cellular automata? |
10 - Cathode-Ray Tube | ★ ★ | Python | A nasty problem with a nasty solution and nasty outputs that mess with my framework. |
11 - Monkey in the Middle | ★ ★ | Python | Return of Advent of Maths! |
12 - Hill Climbing Algorithm | ★ ★ | Python | Iiiiiiiiiiiiiiiit's Djikstra's! |
13 - Distress Signal | ★ ★ | Python | Sorting some weird pairs of values with weird rules |
14 - Regolith Reservoir | ★ ★ | Python | Simulating falling sand |
15 - Beacon Exclusion Zone | ★ ★ | Python | Searching through a 4000000^2 size grid for a literal single empty spot |
16 - Proboscidea Volcanium | ★ ★ | Python | Nasty combinatorics |
17 - Pyroclastic Flow | ★ ★ | Python | Detecting cycles in a large amount of knock-off Tetris. |
18 - Boiling Boulders | ★ ★ | Python | Finding the surface area of a shape specified by a list of unit cubes. |
19 - Not Enough Minerals | ★ ★ | Python | Finding the most effective sequence of operations to complete a specific task. |
20 - Grove Positioning System | ★ ★ | Python | My hell is lined with circular sequences. |
21 - Monkey Math | ★ ★ | Python | Trees of math with a fairly satisfying solution :D |
22 - Monkey Map | ★ ★ | Python | Please never ever make me trace a path around a 3D shape in two dimensions ever again |
23 - Unstable Diffusion | ★ ★ | Python | I <3 Cellular automata |
24 - Blizzard Basin | ★ ★ | Python | BFS of a rapidly changing grid of things |
25 - Full of Hot Air | ★ ★ | Python | Converting into different bases, but weird |