/advent-of-code-scala

Advent of Code Solutions - Máté László

Primary LanguageScala

Advent of Code - Máté László

My solutions to the Advent of Code challenges

  • Using a functional programming style in Scala
  • With no external dependencies (for the educational value)
  • To run a puzzle pass the year and the day as parameters. E.g: sbt 'run 2018 15'

Solutions

2020-2025

Day 2023 2022 2021 2020
01 Trebuchet?! Solution Calorie Counting - Sonar Sweep Solution Report Repair Solution
02 Cube Conundrum Solution Rock Paper Scissors - Dive! Solution Password Philosophy Solution
03 Gear Ratios Solution Rucksack Reorganization - Binary Diagnostic Solution Toboggan Trajectory -
04 Scratchcards Solution Camp Cleanup - Giant Squid Solution Passport Processing -
05 If You Give A Seed A Fertilizer Solution Supply Stacks - Hydrothermal Venture Solution Binary Boarding -
06 Wait For It Solution Tuning Trouble - Lanternfish Solution Custom Customs -
07 Camel Cards Solution No Space Left On Device - The Treachery of Whales Solution Handy Haversacks Solution
08 Haunted Wasteland Solution Treetop Tree House - Seven Segment Search Solution Handheld Halting -
09 Mirage Maintenance Solution Rope Bridge - Smoke Basin Solution Encoding Error -
10 Pipe Maze Solution Cathode-Ray Tube - Syntax Scoring Solution Adapter Array -
11 Cosmic Expansion Solution Monkey in the Middle - Dumbo Octopus Solution Seating System -
12 Hot Springs Solution Hill Climbing Algorithm - Passage Pathing Solution Rain Risk -
13 Point of Incidence Solution Distress Signal - Transparent Origami Solution Shuttle Search -
14 Parabolic Reflector Dish Solution Regolith Reservoir - Extended Polymerization Solution Docking Data -
15 Lens Library Solution Beacon Exclusion Zone - Chiton - Rambunctious Recitation -
16 The Floor Will Be Lava Solution Proboscidea Volcanium - Packet Decoder - Ticket Translation -
17 Clumsy Crucible Solution Pyroclastic Flow - Trick Shot - Conway Cubes -
18 Lavaduct Lagoon Solution Boiling Boulders - Snailfish - Operation Order -
19 Aplenty Solution Not Enough Minerals - Beacon Scanner - Monster Messages -
20 Pulse Propagation Solution Grove Positioning System - Trench Map - Jurassic Jigsaw -
21 - Monkey Math - Dirac Dice - Allergen Assessment -
22 - Monkey Map - Reactor Reboot - Crab Combat -
23 - Unstable Diffusion - Amphipod - Crab Cups -
24 - Blizzard Basin - Arithmetic Logic Unit - Lobby Layout -
25 - Full of Hot Air - Sea Cucumber - Combo Breaker -

2015-2019

Day 2019 2018 2017 2016 2015
01 The Tyranny of the Rocket Equation Solution Chronal Calibration Solution Inverse Captcha Solution No Time for a Taxicab _ Not Quite Lisp Solution
02 1202 Program Alarm Solution Inventory Management System Solution Corruption Checksum Solution Bathroom Security _ I Was Told There Would Be No Math Solution
03 Crossed Wires Solution No Matter How You Slice It Solution Spiral Memory Solution Squares With Three Sides _ Perfectly Spherical Houses in a Vacuum Solution
04 Secure Container Solution Repose Record Solution High-Entropy Passphrases Solution Security Through Obscurity _ The Ideal Stocking Stuffer Solution
05 Sunny with a Chance of Asteroids Solution Alchemical Reduction Solution A Maze of Twisty Trampolines, All Alike Solution How About a Nice Game of Chess? _ Doesn't He Have Intern-Elves For This? Solution
06 Universal Orbit Map Solution Chronal Coordinates Solution Memory Reallocation Solution Signals and Noise _ Probably a Fire Hazard Solution
07 Amplification Circuit _ The Sum of Its Parts Solution Recursive Circus Solution Internet Protocol Version 7 _ Some Assembly Required Solution
08 Space Image Format _ Memory Maneuver Solution I Heard You Like Registers Solution Two-Factor Authentication _ Matchsticks Solution
09 Sensor Boost _ Marble Mania Solution Stream Processing Solution Explosives in Cyberspace _ All in a Single Night Solution
10 Monitoring Station _ The Stars Align Solution Knot Hash Solution Balance Bots _ Elves Look, Elves Say Solution
11 Space Police _ Chronal Charge Solution Hex Ed Solution Radioisotope Thermoelectric Generators _ Corporate Policy Solution
12 The N-Body Problem _ Subterranean Sustainability Solution Digital Plumber Solution Leonardo's Monorail _ JSAbacusFramework.io Solution
13 Care Package _ Mine Cart Madness Solution Packet Scanners Solution A Maze of Twisty Little Cubicles _ Knights of the Dinner Table Solution
14 Space Stoichiometry _ Chocolate Charts Solution Disk Defragmentation Solution One-Time Pad _ Reindeer Olympics Solution
15 Oxygen System _ Beverage Bandits Solution Dueling Generators Solution Timing is Everything _ Science for Hungry People Solution
16 Flawed Frequency Transmission _ Chronal Classification Solution Permutation Promenade Solution Dragon Checksum _ Aunt Sue Solution
17 Set and Forget _ Reservoir Research Solution Spinlock Solution Two Steps Forward _ No Such Thing as Too Much Solution
18 Many-Worlds Interpretation _ Settlers of The North Pole Solution Duet Solution Like a Rogue _ Like a GIF For Your Yard Solution
19 Tractor Beam _ Go With The Flow Solution A Series of Tubes Solution An Elephant Named Joseph _ Medicine for Rudolph Solution
20 Donut Maze _ A Regular Map _ Particle Swarm Solution Firewall Rules _ Infinite Elves and Infinite Houses Solution
21 Springdroid Adventure _ Chronal Conversion _ Fractal Art Solution Scrambled Letters and Hash _ RPG Simulator 20XX Solution
22 Slam Shuffle _ Mode Maze _ Sporifica Virus Solution Grid Computing _ Wizard Simulator 20XX Solution
23 Slam Shuffle _ Experimental Emergency Teleportation _ Coprocessor Conflagration Solution Safe Cracking _ Opening the Turing Lock Solution
24 Planet of Discord _ Immune System Simulator 20XX Solution Electromagnetic Moat Solution Air Duct Spelunking _ It Hangs in the Balance Solution
25 Cryostasis _ Four-Dimensional Adventure _ The Halting Problem Solution Clock Signal _ Let It Snow Solution