My solutions for the AoC 2021 challenges, written in Python.
π π π
Day | Puzzle | Solution |
---|---|---|
1 | Sonar Sweep | π day1.py |
2 | Dive! | π day2.py |
3 | Binary Diagnostic | π day3.py |
4 | Giant Squid | π day4.py |
5 | Hydrothermal Venture | π day5.py |
6 | Lanternfish | π day6.py |
7 | The Treachery of Whales | π day7.py |
8 | Seven Segment Search | π day8.py |
9 | Smoke Basin | π day9.py |
10 | Syntax Scoring | π day10.py |
11 | Dumbo Octopus | π day11.py |
12 | Passage Pathing | π day12.py |
13 | Transparent Origami | π day13.py |
14 | Extended Polymerization | π day14.py |
15 | Chiton | π day15.py |
16 | Packet Decoder | π day16.py |
17 | Trick Shot | π day17.py |
18 | Snailfish | π day18.py |
19 | Beacon Scanner | π day19.py |
20 | Trench Map | π day20.py |
21 | Dirac Dice | π day21.py |
22 | Reactor Reboot | π day22.py |
23 | Amphipod | π day23.py |
24 | Arithmetic Logic Unit | π day24.py |
25 | Sea Cucumber | π day25.py |
Package requirements are specified in the requirements.txt file. All solutions have also been tested with Python 3.9 and might still run with a Python 3.8.
pip install -r requirements.txt
You should install the pre-commit hooks that format the code before commit
pre-commit install