/advent-of-code-solutions

Java solutions for the Advent Of Code challenges!

Primary LanguageJava

advent-of-code-solutions

This repo contains all my (currently) solved Advent of Code challenges. I will update the repo with additional solutions as I go.

How-To

  1. Clone the repo
  2. Import it to your IDE as a maven project
  3. run the self contained classes for each day (be sure to replace the file paths for each input)

Advent-of-Code-2021

Solutions to the Advent of Code 2021 challenge in Java
Link: https://adventofcode.com/2021/

Days:

Link to source code Name Link to BP
Day 1 Sonar Sweep Blog Post
Day 2 Dive! Blog Post
Day 3 Binary Diagnostic Blog Post
Day 4 Giant Squid Blog Post
Day 5 Hydrothermal Venture Blog Post
Day 6 Lanternfish Blog Post
Day 7 The Treachery of Whales Blog Post
Day 8 Seven Segment Search Blog Post
Day 9 Smoke Basin Blog Post
Day 10 Syntax Scoring Blog Post
Day 11 Dumbo Octopus Blog Post

Advent-of-Code-2020

Solutions to the Advent of Code 2020 challenge in Java
Link: https://adventofcode.com/2020/

Days:

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

Advent-of-Code-2019

Solutions to the Advent of Code 2019 challenge in Java
Link: https://adventofcode.com/2019/

Days:

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

Advent-of-Code-2018

Solutions to the Advent of Code 2018 challenge in Java
Link: https://adventofcode.com/2018/

Days:

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

Advent-of-Code-2017

Solutions to the Advent of Code 2017 challenge in Java
Link: https://adventofcode.com/2017/

Days:

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

Advent-of-Code-2016

Solutions to the Advent of Code 2016 challenge in Java
Link: https://adventofcode.com/2016/

Days:

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

Advent-of-Code-2015

Solutions to the Advent of Code 2015 challenge in Java
Link: https://adventofcode.com/2015/

Days:

Link to source code Name Link to BP
Day 1 Not Quite Lisp Blog Post
Day 2 I Was Told There Would Be No Math Blog Post
Day 3 Perfectly Spherical Houses in a Vacuum Blog Post
Day 4 The Ideal Stocking Stuffer Blog Post
Day 5 Doesn't He Have Intern-Elves For This? Blog Post
Day 6 Probably a Fire Hazard Blog Post
Day 7 Some Assembly Required Blog Post
Day 8 Matchsticks Blog Post
Day 9 All in a Single Night Blog Post
Day 10 Elves Look, Elves Say Blog Post
Day 11 Corporate Policy Blog Post
Day 12 JSAbacusFramework.io Blog Post
Day 13 Knights of the Dinner Table Blog Post
Day 14 Reindeer Olympics Blog Post
Day 15 Science for Hungry People Blog Post
Day 16 Aunt Sue Blog Post
Day 17 No Such Thing as Too Much Blog Post
Day 18 Like a GIF For Your Yard Blog Post
Day 19 Medicine for Rudolph Blog Post
Day 20 Infinite Elves and Infinite Houses Blog Post
Day 21 RPG Simulator 20XX Blog Post
Day 22 Wizard Simulator 20XX Blog Post
Day 23 Opening the Turing Lock Blog Post
Day 24 It Hangs in the Balance Blog Post
Day 25 Let It Snow Blog Post