/AdventOfCode2021

My solutions for the Advent of Code 2021 challenges, written in Python

Primary LanguagePythonMIT LicenseMIT

Advent of Code 2021

My solutions for the AoC 2021 challenges, written in Python.

🎄 🎄 🎄

Puzzles

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

Requirements

Python 3.10

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