Skip to content

🎄 Solutions to Advent of Code challenges

License

Notifications You must be signed in to change notification settings

sanderploegsma/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

This repository contains my solutions to the yearly Advent of Code challenges.

Overview

Year Participation Practice
2023 Python Ruby
2022 C# Scala, Elixir
2021 Kotlin Swift
2020 F# C#, Python
2019 Go Kotlin
2018   Go, F#
2017   F#
2016   F#, C#
2015   F#, Kotlin

2023

Day Name Stars Solutions
1 Trebuchet?! ⭐️⭐️ Python, Ruby
2 Cube Conundrum ⭐️⭐️ Python
3 Gear Ratios ⭐️⭐️ Python
4 Scratchcards ⭐️⭐️ Python
5 If You Give A Seed A Fertilizer ⭐️⭐️ Python
6 Wait For It ⭐️⭐️ Python
7 Camel Cards ⭐️⭐️ Python
8 Haunted Wasteland ⭐️⭐ Python
9 Mirage Maintenance ⭐️⭐ Python
10 Pipe Maze ⭐️⭐ Python
11 Cosmic Expansion ⭐️⭐ Python
12 Hot Springs ⭐️⭐ Python
13 Point of Incidence ⭐️⭐ Python
14 Parabolic Reflector Dish ⭐️⭐ Python
15 Lens Library ⭐️⭐ Python
16 The Floor Will Be Lava ⭐️⭐ Python
17 Clumsy Crucible ⭐️⭐ Python
18 Lavaduct Lagoon ⭐️⭐ Python
19 Aplenty ⭐️ Python
20      
21      
22      
23      
24      
25      

2022

Day Name Stars Solutions
1 Calorie Counting ⭐️⭐️ C#, Scala, Elixir
2 Rock Paper Scissors ⭐️⭐️ C#, Scala, Elixir
3 Rucksack Reorganization ⭐️⭐️ C#, Scala
4 Camp Cleanup ⭐️⭐️ C#, Scala
5 Supply Stacks ⭐️⭐️ C#, Scala
6 Tuning Trouble ⭐️⭐️ C#, Scala
7 No Space Left On Device ⭐️⭐️ C#, Scala
8 Treetop Tree House ⭐️⭐️ C#
9 Rope Bridge ⭐️⭐️ C#
10 Cathode-Ray Tube ⭐️⭐️ C#
11 Monkey in the Middle ⭐️⭐️ C#
12 Hill Climbing Algorithm ⭐️⭐️ C#, Scala
13 Distress Signal ⭐️⭐️ C#
14 Regolith Reservoir ⭐️⭐️ C#
15 Beacon Exclusion Zone ⭐️⭐️ C#
16 Proboscidea Volcanium    
17 Pyroclastic Flow    
18 Boiling Boulders ⭐️⭐️ C#
19 Not Enough Minerals    
20 Grove Positioning System    
21 Monkey Math    
22 Monkey Map    
23 Unstable Diffusion    
24 Blizzard Basin    
25 Full of Hot Air    

2021

Day Name Stars Solutions
1 Sonar Sweep ⭐️⭐️ Kotlin, Swift
2 Dive! ⭐️⭐️ Kotlin, Swift
3 Binary Diagnostic ⭐️⭐️ Kotlin, Swift
4 Giant Squid ⭐️⭐️ Kotlin
5 Hydrothermal Venture ⭐️⭐️ Kotlin
6 Lanternfish ⭐️⭐️ Kotlin
7 The Treachery of Whales ⭐️⭐️ Kotlin
8 Seven Segment Search ⭐️⭐️ Kotlin
9 Smoke Basin ⭐️⭐️ Kotlin
10 Syntax Scoring ⭐️⭐️ Kotlin
11 Dumbo Octopus ⭐️⭐️ Kotlin
12 Passage Pathing ⭐️⭐️ Kotlin
13 Transparent Origami ⭐️⭐️ Kotlin
14 Extended Polymerization ⭐️⭐️ Kotlin
15 Chiton ⭐️⭐️ Kotlin
16 Packet Decoder ⭐️⭐️ Kotlin
17 Trick Shot ⭐️⭐️ Kotlin
18 Snailfish ⭐️⭐️ Kotlin
19 Beacon Scanner ⭐️⭐️ Kotlin
20 Trench Map ⭐️⭐️ Kotlin
21 Dirac Dice ⭐️⭐️ Kotlin
22 Reactor Reboot ⭐️⭐️ Kotlin
23 Amphipod ⭐️ Kotlin
24 Arithmetic Logic Unit   Kotlin
25 Sea Cucumber ⭐️ Kotlin

2020

Day Name Stars Solutions
1 Report Repair ⭐️⭐️ F#, C#, Python
2 Password Philosophy ⭐️⭐️ F#, C#, Python
3 Toboggan Trajectory ⭐️⭐️ F#, C#, Python
4 Passport Processing ⭐️⭐️ F#, C#, Python
5 Binary Boarding ⭐️⭐️ F#, C#, Python
6 Custom Customs ⭐️⭐️ F#, C#, Python
7 Handy Haversacks ⭐️⭐️ F#, C#, Python
8 Handheld Halting ⭐️⭐️ F#, C#, Python
9 Encoding Error ⭐️⭐️ F#, C#, Python
10 Adapter Array ⭐️⭐️ F#, C#
11 Seating System ⭐️⭐️ F#, C#
12 Rain Risk ⭐️⭐️ F#, C#
13 Shuttle Search ⭐️⭐️ F#, C#
14 Docking Data ⭐️⭐️ F#, C#
15 Rambunctious Recitation ⭐️⭐️ F#, C#
16 Ticket Translation ⭐️⭐️ F#, C#
17 Conway Cubes ⭐️⭐️ F#, C#
18 Operation Order ⭐️⭐️ F#, C#
19 Monster Messages ⭐️⭐️ F#, C#
20 Jurassic Jigsaw ⭐️⭐️ F#, C#
21 Allergen Assessment ⭐️⭐️ F#, C#
22 Crab Combat ⭐️⭐️ F#, C#
23 Crab Cups ⭐️⭐️ F#, C#
24 Lobby Layout ⭐️⭐️ F#, C#
25 Combo Breaker ⭐️⭐️ F#, C#

2019

Day Name Stars Solutions
1 The Tyranny of the Rocket Equation ⭐️⭐️ Go, Kotlin, F#
2 1202 Program Alarm ⭐️⭐️ Go, Kotlin
3 Crossed Wires ⭐️⭐️ Go, Kotlin
4 Secure Container ⭐️⭐️ Go, Kotlin
5 Sunny with a Chance of Asteroids ⭐️⭐️ Go, Kotlin
6 Universal Orbit Map ⭐️⭐️ Go, Kotlin
7 Amplification Circuit ⭐️⭐️ Go, Kotlin
8 Space Image Format ⭐️⭐️ Go
9 Sensor Boost ⭐️⭐️ Go
10 Monitoring Station ⭐️⭐️ Go
11 Space Police ⭐️⭐️ Go
12 The N-Body Problem ⭐️⭐️ Go
13 Care Package ⭐️⭐️ Go
14 Space Stoichiometry ⭐️⭐️ Go
15 Oxygen System ⭐️⭐️ Go
16 Flawed Frequency Transmission ⭐️ Go
17 Set and Forget ⭐️ Go
18 Many-Worlds Interpretation    
19 Tractor Beam ⭐️ Go
20 Donut Maze    
21 Springdroid Adventure    
22 Slam Shuffle    
23 Category Six    
24 Planet of Discord    
25 Cryostasis    

2018

Day Name Stars Solutions
1 Chronal Calibration ⭐️⭐️ Go, F#
2 Inventory Management System ⭐️⭐️ Go, F#
3 No Matter How You Slice It ⭐️⭐️ Go, F#
4 Repose Record ⭐️⭐️ Go, F#
5 Alchemical Reduction ⭐️⭐️ Go, F#
6 Chronal Coordinates    
7 The Sum of Its Parts ⭐️⭐️ F#
8 Memory Maneuver    
9 Marble Mania    
10 The Stars Align ⭐️⭐️ F#
11 Chronal Charge    
12 Subterranean Sustainability    
13 Mine Cart Madness    
14 Chocolate Charts    
15 Beverage Bandits    
16 Chronal Classification    
17 Reservoir Research    
18 Settlers of The North Pole    
19 Go With The Flow    
20 A Regular Map    
21 Chronal Conversion    
22 Mode Maze    
23 Experimental Emergency Teleportation    
24 Immune System Simulator 20XX    
25 Four-Dimensional Adventure    

2017

Day Name Stars Solutions
1 Inverse Captcha ⭐️⭐️ F#
2 Corruption Checksum ⭐️⭐️ F#
3 Spiral Memory ⭐️ F#
4 High-Entropy Passphrases ⭐️⭐️ F#
5 A Maze of Twisty Trampolines, All Alike ⭐️⭐️ F#
6 Memory Reallocation ⭐️⭐️ F#
7 Recursive Circus ⭐️⭐️ F#
8 I Heard You Like Registers ⭐️⭐️ F#
9 Stream Processing ⭐️⭐️ F#
10 Knot Hash    
11 Hex Ed    
12 Digital Plumber    
13 Packet Scanners    
14 Disk Defragmentation    
15 Dueling Generators    
16 Permutation Promenade    
17 Spinlock    
18 Duet    
19 A Series of Tubes    
20 Particle Swarm    
21 Fractal Art    
22 Sporifica Virus    
23 Coprocessor Conflagration    
24 Electromagnetic Moat    
25 The Halting Problem    

2016

Day Name Stars Solutions
1 No Time for a Taxicab ⭐️⭐️ C#, F#
2 Bathroom Security ⭐️⭐️ C#, F#
3 Squares With Three Sides ⭐️⭐️ C#, F#
4 Security Through Obscurity ⭐️⭐️ C#, F#
5 How About a Nice Game of Chess? ⭐️⭐️ C#, F#
6 Signals and Noise ⭐️⭐️ C#, F#
7 Internet Protocol Version 7 ⭐️⭐️ C#, F#
8 Two-Factor Authentication ⭐️⭐️ C#, F#
9 Explosives in Cyberspace ⭐️⭐️ C#, F#
10 Balance Bots ⭐️⭐️ C#
11 Radioisotope Thermoelectric Generators    
12 Leonardo's Monorail ⭐️⭐️ C#, F#
13 A Maze of Twisty Little Cubicles    
14 One-Time Pad    
15 Timing is Everything    
16 Dragon Checksum    
17 Two Steps Forward    
18 Like a Rogue    
19 An Elephant Named Joseph    
20 Firewall Rules    
21 Scrambled Letters and Hash    
22 Grid Computing    
23 Safe Cracking    
24 Air Duct Spelunking    
25 Clock Signal    

2015

Day Name Stars Solutions
01 Not Quite Lisp ⭐️⭐️ F#
02 I Was Told There Would Be No Math ⭐️⭐️ F#
03 Perfectly Spherical Houses in a Vacuum ⭐️⭐️ F#
04 The Ideal Stocking Stuffer ⭐️⭐️ F#
05 Doesn't He Have Intern-Elves For This? ⭐️⭐️ F#
06 Probably a Fire Hazard ⭐️⭐️ F#
07 Some Assembly Required ⭐️⭐️ F#
08 Matchsticks ⭐️⭐️ Kotlin
09 All in a Single Night ⭐️⭐️ Kotlin
10 Elves Look, Elves Say ⭐️⭐️ Kotlin
11 Corporate Policy ⭐️⭐️ Kotlin
12 JSAbacusFramework.io ⭐️⭐️ Kotlin
13 Knights of the Dinner Table ⭐️⭐️ Kotlin
14 Reindeer Olympics ⭐️⭐️ Kotlin
15 Science for Hungry People ⭐️⭐️ Kotlin
16 Aunt Sue ⭐️⭐️ Kotlin
17 No Such Thing as Too Much ⭐️⭐️ Kotlin
18 Like a GIF For Your Yard ⭐️⭐️ Kotlin
19 Medicine for Rudolph ⭐️⭐️ Kotlin
20 Infinite Elves and Infinite Houses ⭐️⭐️ Kotlin
21 RPG Simulator 20XX    
22 Wizard Simulator 20XX    
23 Opening the Turing Lock    
24 It Hangs in the Balance    
25 Let It Snow