Welcome to the Advent of Code1 Java project created by tinohertlein.
In this repository, Tino is about to provide solutions for the puzzles using Java language.
- Prefer functional/declarative programming style to imperative programming style
- Prefer readability to performance
- Don't care about memory usage or execution duration
- Java 23 - preview is enabled in
build.gradle
- Gradle 8+ (but Gradle wrapper is included)
gradle build
gradle test
- Though focus is more on readability than performance of the solutions, there are also jmh benchmark files in ./src/jmh that can be used to compare different solution approaches.
gradle jmh
gradle setupNextDay
- Template files starting with
Day00
are used as copy source for that.
- Create a file
.aocconfig
with your advent-of-code session cookie. gradle downloadChallengeInput
Advent of Code – An annual event of Christmas-oriented programming challenges started December 2015. Every year since then, beginning on the first day of December, a programming puzzle is published every day for twenty-five days. You can solve the puzzle and provide an answer using the language of your choice.