Discover Packages
github.com/codemicro/adventofcode
challenges
2021
directory
Version:
v0.0.0-...-569c26b
Opens a new window with list of versions in this module.
Published: Dec 9, 2024
License: MIT
Opens a new window with license information.
README
README
¶
Advent of Code 2021
Solutions to the 2021 Advent of Code .
* means that a given day has a visualisation
Day
Status
Solutions
Notes
01 - Sonar Sweep
★ ★
Python , Go , Nim
Numbers and sliding windows.
02 - Dive!
★ ★
Python , Go
Have this set of instructions and do something sensible with it.
03 - Binary Diagnostic
★ ★
Python , Nim
Bit twiddling aplenty!
04 - Giant Squid
★ ★
Python
B-I-N-G-O, B-I-N-G-O, B-I-N-G-O and Bingo was his name-o!
05 - Hydrothermal Venture
★ ★
Python , Go , Nim
Pointy.
06 - Lanternfish
★ ★
Python
At this rate, the mass of the fish would surpass that of the Earth pretty quickly.
07 - The Treachery of Whales
★ ★
Python
I'm not 100% sure my solution for part two is valid for all possible inputs.
08 - Seven Segment Search
★ ★
Python , Go
I may have taken the easy way out for part two, but it does work! No-one ever said the smart solution is the best solution, anyway.
09 - Smoke Basin *
★ ★
Python
Schmokey! Also, as it turns out, I struggle to implement basic logic. Fun.
10 - Syntax Scoring
★ ★
Python
I can't say I've ever broken something so thoroughly that it has a syntax error on every line...
11 - Dumbo Octopus
★ ★
Python , Nim
Cellular automata my beloved <3
12 - Passage Pathing
★ ★
Go
I couldn't tell you how it works, but it does kinda work and I think I have a vague idea (external help was used).
13 - Transparent Origami
★ ★
Python , Nim
I got stuck for hours on an intermittent off-by-one error. :(
14 - Extended Polymerization
★ ★
Python
Another off-by-one error, but this time it was because of dodgy division. Wonderful.
15 - Chiton
★ ★
Python
Pathfinding is hard
16 - Packet Decoder
★ ★
Python
Parsing and interpreting stuff is surprisingly enjoyable
17 - Trick Shot
Unattempted
18 - Snailfish
Could not solve
19 - Beacon Scanner
Unattempted
20 - Trench Map *
★ ★
Python , Nim
Took a moment to realise that the infinite grid alternates between lit and unlit, and even then I had to look at someone else's solution to realise it.
21 - Dirac Dice
★ ☆
Python
Couldn't be bothered with part two - I've got too much going on at the moment to spend a lot of time thinking about it.
22 - Reactor Reboot
★ ★
Python, OpenSCAD and Blender
I did not expect to end up using 3D CAD software to complete AoC...
23 - Amphipod
Unattempted
24 - Arithmetic Logic Unit
Unattempted
25 - Sea Cucumber
★ ☆
Python
Missing some stars :(
Expand ▾
Collapse ▴
Directories
¶
01-sonarSweep
02-dive
05-hydrothermalVenture
08-sevenSegmentSearch
12-passagePathing
Click to show internal directories.
Click to hide internal directories.