Skip to content

Instantly share code, notes, and snippets.

View Shakezulla57's full-sized avatar

Jack Shakezulla57

View GitHub Profile
import java.io.File
fun day8() {
val input = File("8.txt").readLines().map { it.trim() }.map {
parseInput(it)
}
val corrupted = findCorruptedIndex(input)
println("corrupted: $corrupted")