No description
Find a file
2025-09-21 15:59:46 +02:00
gradle/wrapper Space Stoichiometry 2025-09-21 15:59:46 +02:00
src/main/kotlin Space Stoichiometry 2025-09-21 15:59:46 +02:00
.gitignore Clean up .gitignore 2024-09-29 21:47:23 +02:00
build.gradle.kts Space Stoichiometry 2025-09-21 15:59:46 +02:00
gradle.properties Created Source Files 2023-10-21 19:53:26 +02:00
gradlew Created Source Files 2023-10-21 19:53:26 +02:00
gradlew.bat Created Source Files 2023-10-21 19:53:26 +02:00
LICENSE Refactored 2022 from old repo, completed 2019 Day5 2023-10-27 13:13:30 +02:00
README.md Update README.md 2025-02-17 22:47:57 +01:00
settings.gradle.kts Created Source Files 2023-10-21 19:53:26 +02:00

Kotlin Solutions - Advent of Code

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! 🏆

Structure

  • Solutions: In solutions directory, each extending the base Solution 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 in resources/cache/main/$year (gitignored)

Template

class Day$day : Solution() {
    override fun solvePart1(input: File): Any = TODO()
    override fun solvePart2(input: File): Any = TODO()
}