Skip to content

This repository contains solutions for the Advent of Code 2024 - in Java

Notifications You must be signed in to change notification settings

tinohertlein/advent-of-code-2024

Repository files navigation

🎄🎄🎄Advent of Code 2024 - Java 🎄🎄🎄

Maintainability Test Coverage

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.

What are Tino's rules for solving the puzzles - in order of importance?

  1. Prefer functional/declarative programming style to imperative programming style
  2. Prefer readability to performance
  3. Don't care about memory usage or execution duration

What do I need to run this stuff?

  • Java 23 - preview is enabled in build.gradle
  • Gradle 8+ (but Gradle wrapper is included)

How to use this repo?

Build

  • gradle build

Test

  • gradle test

Benchmark

  • 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

Setup files for the next puzzle day

  • gradle setupNextDay
  • Template files starting with Day00 are used as copy source for that.

Download challenge input for the current puzzle day

Anything else?

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.

Footnotes

About

This repository contains solutions for the Advent of Code 2024 - in Java

Topics

Resources

Stars

Watchers

Forks

Languages