No description
| gradle/wrapper | ||
| src/main/kotlin | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
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
solutionsdirectory, each extending the baseSolutionclass - Utils: Helper functions specifically designed for advent of code puzzles in
utilsdirectory - Inputs: Test inputs in
resources/cache/test/$year, puzzle inputs cached inresources/cache/main/$year(gitignored)
Template
class Day$day : Solution() {
override fun solvePart1(input: File): Any = TODO()
override fun solvePart2(input: File): Any = TODO()
}