Skip to content

My solutions for the Advent of Code 2021

License

Notifications You must be signed in to change notification settings

loehnertz/advent-of-code-2021

Repository files navigation

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
Day 4: Giant Squid
Day 5: Hydrothermal Venture
Day 6: Lanternfish
Day 7: The Treachery of Whales
Day 8: Seven Segment Search
Day 9: Smoke Basin
Day 10: The Treachery of Whales
Day 11: Dumbo Octopus
Day 12: Passage Pathing
Day 13: Transparent Origami
Day 14: Extended Polymerization
Day 15: Chiton

Tests

I additionally wrote tests for some puzzles. You can execute them with JUnit.