Advent of Code

Table of Contents

1. What is Advent of Code

corrected · pilot-annotation-pass · 2026-10-08

Advent of Code is an annual programming challenge created by Eric Wastl. The puzzles start December 1st every year; the event ran daily through December 25th from 2015-2024, but starting with the 2025 edition it ends mid-December instead. Each day presents a two-part puzzle.

Each puzzle tells a story, often involving Santa, elves, and holiday-themed scenarios.

2. Problem-Solving Approaches

corrected · pilot-annotation-pass · 2026-10-08

Many challenges involve familiar patterns: priority-queue search (Dijkstra, used in this directory's Day 16 solution) for weighted pathfinding, dynamic programming for optimization, or recursive descent for parsing.

A key strategy is to solve the sample input first, verifying your understanding before tackling the full dataset. Part two of each puzzle typically extends or twists the original problem, often requiring optimization or a fundamental rethinking of your approach.

3. Language Choices

corrected · pilot-annotation-pass · 2026-10-08

This directory's solutions are Python only, plus one Emacs Lisp warehouse-pushing game. Python's standard library – itertools, collections, and re – covers the parsing these puzzles need. Scheme is not used for Advent of Code anywhere in this repository; a separate note, for a different year, covers Clojure solutions.

4. Learning Value and Community

Participants share solutions on Reddit, GitHub, and various forums.

5. Resources and Solutions

5.1. Official Site

5.2. Previous Solutions

verified · pilot-annotation-pass · 2026-10-08
  • Python solutions only in this directory – see individual day files (d14.py, d15.py, etc.)
  • Day 14 Part 2's answer (step 7572) was independently re-verified by execution (see drawer above)

5.3. Community Resources

6. Related