Skip to content

jsoberg/Kotlin-AoC-Utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6e7db9b Â· Dec 15, 2024

History

30 Commits
Dec 10, 2024
Dec 15, 2024
Dec 7, 2024
Dec 15, 2024
Dec 6, 2024
Dec 6, 2024
Dec 15, 2024
Dec 7, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024

Repository files navigation

Kotlin Advent of Code Utilities 🎄

Tests

Common utilities that I end up using every year for Advent of Code. Includes the Kotlin AoC API for automatically pulling and caching input for each day of the advent.

Setup

This can be added to a Kotlin Advent of Code template repository or any other Kotlin JVM project through Jitpack, in your build.gradle.kts:

dependencies {
    implementation("com.github.jsoberg:Kotlin-AoC-Utilities:2024.6")
}

Utilities

Listing of the current utilities for common functions found in Advent of Code puzzles.

Data Structures

  • Grid2D - Simple uniform 2D Grid with utility functions for moving in cardinal directions.

Input Reading

Async

  • AsyncSum - Various utility functions for running sum functions asynchronously (using coroutines).