Twenty-Five Days
Advent of Code 2024: one post per puzzle, solved step by step in Python, with an animation per part.
The last of the twenty-five-day events. Each part starts from a plain first version and moves one step at a time to the version worth keeping, saying what each step changes and why. Python only.
They were written without a puzzle input of my own, so every solution here is checked against the puzzle’s examples (and, where speed matters, against generated inputs of the real size), not against an answer submitted on the site. Each post says what was run.
The solutions link to the puzzles and describe them in my own words; the puzzle texts belong to Advent of Code.
The days so far
- 01Day 1: Historian Hysteria
- 02Day 2: Red-Nosed Reports
- 03Day 3: Mull It Over
- 04Day 4: Ceres Search
- 05Day 5: Print Queue
- 06Day 6: Guard Gallivant
- 07Day 7: Bridge Repair
- 08Day 8: Resonant Collinearity
- 09Day 9: Disk Fragmenter
- 10Day 10: Hoof It
- 11Day 11: Plutonian Pebbles
- 12Day 12: Garden Groups
- 13Day 13: Claw Contraption
- 14Day 14: Restroom Redoubt
- 15Day 15: Warehouse Woes
- 16Day 16: Reindeer Maze
- 17Day 17: Chronospatial Computer
- 18Day 18: RAM Run
- 19Day 19: Linen Layout
- 20Day 20: Race Condition
- 21Day 21: Keypad Conundrum
- 22Day 22: Monkey Market
- 23Day 23: LAN Party
- 24Day 24: Crossed Wires
- 25Day 25: Code Chronicle