Advent of Code 2021
My solutions for the Advent of Code 2021 solved with Kotlin.
What is the Advent of Code?
Advent of Code is an online event created by Eric Wastl. It is like an advent calendar with small chocolates but replaced with small, christmas-themed coding challenges, one for each day until Christmas. They typically get more difficult with each day. You can solve them in any language you like.
Task
Collect stars by solving puzzles. Two puzzles will be made available on each day in the Advent calendar; the second puzzle is unlocked when you complete the first. Each puzzle grants one star. Good luck!
Your instincts tell you that in order to save Christmas, you'll need to get all fifty stars by December 25th.
Puzzles
Day | Part 1 | Part 2 |
---|---|---|
Day 1: Sonar Sweep |
|
|
Day 2: Dive! |
|
|
Day 3: Binary Diagnostic |
|
|
Tests
I additionally wrote tests for some puzzles. You can execute them with JUnit.