/AdventOfCode2021

Solutions for the Advent of Code puzzles 2021, written in Kotlin.

Primary LanguageKotlinApache License 2.0Apache-2.0

Advent of Code 2021 🎄

GitHub Build Status GitHub last commit

Solutions for the AoC 2021 puzzles, written in Kotlin.

Running

To run any specific day, with your puzzle input, simply run:

./gradlew run -Dday={day number} -DsessionCookie={session cookie}

where {day number} is the day and {session cookie} is your AoC session cookie value.

To run all the solutions with the example test data, run:

./gradlew run test

Solutions

Day Title Solution
1 📡 Sonar Sweep Day01.kt ⭐⭐
2 🤿 Dive! Day02.kt ⭐⭐
3 🩺 Binary Diagnostic Day03.kt ⭐⭐
4 🦑 Giant Squid Day04.kt ⭐⭐
5 Hydrothermal Venture Day05.kt ⭐⭐
7 🐟 Lanternfish Day06.kt ⭐⭐
7 🐳 The Treachery of Whales Day07.kt ⭐⭐
8 7️⃣ Seven Segment Search Day08.kt ⭐⭐
9 💨 Smoke Basin Day09.kt ⭐⭐