Solutions in Python for the 2021 edition of the Advent of Code annual programming challenge.
Annual editions in Python: 2021, 2020, 2019.
Santa has become stranded at the edge of the Solar System while delivering presents to other planets! To accurately calculate his position in space, safely align his warp drive, and return to Earth in time to save Christmas, he needs you to bring him measurements from fifty stars.
Day | Puzzle Title | Links | Topics | Part One | Part Two | Runtime |
---|---|---|---|---|---|---|
1 | Sonar Sweep | AoC - Reddit | List manipulation | ⭐ | ⭐ | 20.8 ms |
2 | Dive! | AoC - Reddit | List iteration | ⭐ | ⭐ | 23.2 ms |
3 | Binary Diagnostic | AoC - Reddit | List iteration | ⭐ | ⭐ | 46.4 ms |
4 | Giant Squid | AoC - Reddit | Data structure iteration | ⭐ | ⭐⭐ | 137.7 ms |
5 | Hydrothermal Venture | AoC - Reddit | Arrays | ⭐ | ⭐ | 1714.2 ms |
6 | Lanternfish | AoC - Reddit | Optimization | ⭐ | ⭐⭐ | 7.7 ms |
7 | The Treachery of Whales | AoC - Reddit | List iteration | ⭐ | ⭐ | 1955.9 ms |
8 | Seven Segment Search | AoC - Reddit | Data structures | ⭐ | ⭐⭐ | 17 ms |
9 | Smoke Basin | AoC - Reddit | Fill algorithm | ⭐ | ⭐ | 160 ms |
10 | Syntax Scoring | AoC - Reddit | Tokenization | ⭐ | ⭐ | 1.4 ms |
11 | Dumbo Octopus | AoC - Reddit | tbd | ⭐ | tbd | 10.7 ms |
xx | tbd | [AoC][aoc-2021-x] - [Reddit][reddit-aoc-2021-x] | tbd | tbd | tbd | tbd |