Home

Awesome

Advent of Code tests-badge

Complete 2022 to 2015 entries for the annual Advent of Code challenge, written in concise idiomatic functional Scala.

Features

As far as possible, each day's solution embraces the following approaches:

The minimal SBT project provides:

Years

2022

DayProblemSolution
1Calorie CountingSource
2Rock Paper ScissorsSource
3Rucksack ReorganizationSource
4Camp CleanupSource
5Supply StacksSource
6Tuning TroubleSource
7No Space Left On DeviceSource
8Treetop Tree HouseSource
9Rope BridgeSource
10Cathode-Ray TubeSource
11Monkey in the MiddleSource
12Hill Climbing AlgorithmSource
13Distress SignalSource
14Regolith ReservoirSource
15Beacon Exclusion ZoneSource
16Proboscidea VolcaniumSource
17Pyroclastic FlowSource
18Boiling BouldersSource
19Not Enough MineralsSource
20Grove Positioning SystemSource
21Monkey MathSource
22Monkey MapSource
23Unstable DiffusionSource
24Blizzard BasinSource
25Full of Hot AirSource

2021

DayProblemSolution
1Sonar SweepSource
2Dive!Source
3Binary DiagnosticSource
4Giant SquidSource
5Hydrothermal VentureSource
6LanternfishSource
7The Treachery of WhalesSource
8Seven Segment SearchSource
9Smoke BasinSource
10Syntax ScoringSource
11Dumbo OctopusSource
12Passage PathingSource
13Transparent OrigamiSource
14Extended PolymerizationSource
15ChitonSource
16Packet DecoderSource
17Trick ShotSource
18SnailfishSource
19Beacon ScannerSource
20Trench MapSource
21Dirac DiceSource
22Reactor RebootSource
23AmphipodSource
24Arithmetic Logic UnitSource
25Sea CucumberSource

2020

DayProblemSolution
1Report RepairSource
2Password PhilosophySource
3Toboggan TrajectorySource
4Passport ProcessingSource
5Binary BoardingSource
6Custom CustomsSource
7Handy HaversacksSource
8Handheld HaltingSource
9Encoding ErrorSource
10Adapter ArraySource
11Seating SystemSource
12Rain RiskSource
13Shuttle SearchSource
14Docking DataSource
15Rambunctious RecitationSource
16Ticket TranslationSource
17Conway CubesSource
18Operation OrderSource
19Monster MessagesSource
20Jurassic JigsawSource
21Allergen AssessmentSource
22Crab CombatSource
23Crab CupsSource
24Lobby LayoutSource
25Combo BreakerSource

2019

DayProblemSolution
1The Tyranny of the Rocket EquationSource
21202 Program AlarmSource
3Crossed WiresSource
4Secure ContainerSource
5Sunny with a Chance of AsteroidsSource
6Universal Orbit MapSource
7Amplification CircuitSource
8Space Image FormatSource
9Sensor BoostSource
10Monitoring StationSource
11Space PoliceSource
12The N-Body ProblemSource
13Care PackageSource
14Space StoichiometrySource
15Oxygen SystemSource
16Flawed Frequency TransmissionSource
17Set and ForgetSource
18Many-Worlds InterpretationSource
19Tractor BeamSource
20Donut MazeSource
21Springdroid AdventureSource
22Slam ShuffleSource
23Category SixSource
24Planet of DiscordSource
25CryostasisSource

2018

DayProblemSolution
1Chronal CalibrationSource
2Inventory Management SystemSource
3No Matter How You Slice ItSource
4Repose RecordSource
5Alchemical ReductionSource
6Chronal CoordinatesSource
7The Sum of Its PartsSource
8Memory ManeuverSource
9Marble ManiaSource
10The Stars AlignSource
11Chronal ChargeSource
12Subterranean SustainabilitySource
13Mine Cart MadnessSource
14Chocolate ChartsSource
15Beverage BanditsSource
16Chronal ClassificationSource
17Reservoir ResearchSource
18Settlers of The North PoleSource
19Go With The FlowSource
20A Regular MapSource
21Chronal ConversionSource
22Mode MazeSource
23Experimental Emergency TeleportationSource
24Immune System Simulator 20XXSource
25Four-Dimensional AdventureSource

2017

DayProblemSolution
1Inverse CaptchaSource
2Corruption ChecksumSource
3Spiral MemorySource
4High-Entropy PassphrasesSource
5A Maze of Twisty Trampolines, All AlikeSource
6Memory ReallocationSource
7Recursive CircusSource
8I Heard You Like RegistersSource
9Stream ProcessingSource
10Knot HashSource
11Hex EdSource
12Digital PlumberSource
13Packet ScannersSource
14Disk DefragmentationSource
15Dueling GeneratorsSource
16Permutation PromenadeSource
17SpinlockSource
18DuetSource
19A Series of TubesSource
20Particle SwarmSource
21Fractal ArtSource
22Sporifica VirusSource
23Coprocessor ConflagrationSource
24Electromagnetic MoatSource
25The Halting ProblemSource

2016

DayProblemSolution
1No Time for a TaxicabSource
2Bathroom SecuritySource
3Squares With Three SidesSource
4Security Through ObscuritySource
5How About a Nice Game of Chess?Source
6Signals and NoiseSource
7Internet Protocol Version 7Source
8Two-Factor AuthenticationSource
9Explosives in CyberspaceSource
10Balance BotsSource
11Radioisotope Thermoelectric GeneratorsSource
12Leonardo's MonorailSource
13A Maze of Twisty Little CubiclesSource
14One-Time PadSource
15Timing is EverythingSource
16Dragon ChecksumSource
17Two Steps ForwardSource
18Like a RogueSource
19An Elephant Named JosephSource
20Firewall RulesSource
21Scrambled Letters and HashSource
22Grid ComputingSource
23Safe CrackingSource
24Air Duct SpelunkingSource
25Clock SignalSource

2015

DayProblemSolution
1Not Quite LispSource
2I Was Told There Would Be No MathSource
3Perfectly Spherical Houses in a VacuumSource
4The Ideal Stocking StufferSource
5Doesn't He Have Intern-Elves For This?Source
6Probably a Fire HazardSource
7Some Assembly RequiredSource
8MatchsticksSource
9All in a Single NightSource
10Elves Look, Elves SaySource
11Corporate PolicySource
12JSAbacusFramework.ioSource
13Knights of the Dinner TableSource
14Reindeer OlympicsSource
15Science for Hungry PeopleSource
16Aunt SueSource
17No Such Thing as Too MuchSource
18Like a GIF For Your YardSource
19Medicine for RudolphSource
20Infinite Elves and Infinite HousesSource
21RPG Simulator 20XXSource
22Wizard Simulator 20XXSource
23Opening the Turing LockSource
24It Hangs in the BalanceSource
25Let It SnowSource