My solutions for Advent of Code written in Kotlin. The code primarily uses idiomatic functional programming patterns, though some solutions (particularly from 2022) remain in their original, more novice-oriented style from when I was first learning Kotlin. Winner of the Kotlin leaderboard 2024! 🏆
- Solutions: In
solutions
directory, each extending the baseSolution
class - Utils: Helper functions specifically designed for advent of code puzzles in
utils
directory - Inputs: Test inputs in
resources/cache/test/$year
, puzzle inputs cached inresources/cache/main/$year
(gitignored)
class Day$day : Solution() {
override fun solvePart1(input: File): Any = TODO()
override fun solvePart2(input: File): Any = TODO()
}