Skip to content

Instantly share code, notes, and snippets.

@syrm
Created December 3, 2018 13:05
Show Gist options
  • Save syrm/fef09675f75ba93620db108ba356d32f to your computer and use it in GitHub Desktop.
Save syrm/fef09675f75ba93620db108ba356d32f to your computer and use it in GitHub Desktop.
interface Day {
fun part1(input: String) = part1(listOf(input))
fun part2(input: String) = part2(listOf(input))
fun part1(input: List<String>): String
fun part2(input: List<String>): String
fun solve(inputPart1: String, inputPart2: String): List<String, String> {
return List<String, String>(
part1(inputPart1),
part2(inputPart2)
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment