Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jwcarman/adventofcode2024

My solutions for Advent of Code 2024
https://github.com/jwcarman/adventofcode2024

advent-of-code advent-of-code-2024 advent-of-code-2024-kotlin

Last synced: 10 days ago
JSON representation

My solutions for Advent of Code 2024

Awesome Lists containing this project

README

        

![Build Status](https://github.com/jwcarman/adventofcode2024/actions/workflows/maven.yml/badge.svg?branch=main)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jwcarman_adventofcode2024&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=jwcarman_adventofcode2024)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=jwcarman_adventofcode2024&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=jwcarman_adventofcode2024)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

# Advent of Code 2024

This repository contains my solutions for the [Advent of Code 2024](https://adventofcode.com/2024)

## Structure

The project is structured as follows:

* `src/main/kotlin` contains the main code for the solutions
* `src/test/kotlin` contains the JUnit 5 tests used to run the solutions
* `src/test/resources` contains the input files for each puzzle (including examples)

## Solutions

Here are the solutions I have implemented along with the time it took to run each one:
| Solution | Timing (ms) |
| :--- | ---: |
| [Day 1: Historian Hysteria](src/test/kotlin/adventofcode/Day01Test.kt) | 7 |
| [Day 2: Red-Nosed Reports](src/test/kotlin/adventofcode/Day02Test.kt) | 8 |
| [Day 3: Mull It Over](src/test/kotlin/adventofcode/Day03Test.kt) | 7 |
| [Day 4: Ceres Search](src/test/kotlin/adventofcode/Day04Test.kt) | 67 |
| [Day 5: Print Queue](src/test/kotlin/adventofcode/Day05Test.kt) | 8 |
| [Day 6: Guard Gallivant](src/test/kotlin/adventofcode/Day06Test.kt) | 661 |
| [Day 7: Bridge Repair](src/test/kotlin/adventofcode/Day07Test.kt) | 24 |
| [Day 8: Resonant Collinearity](src/test/kotlin/adventofcode/Day08Test.kt) | 5 |
| [Day 9: Disk Fragmenter](src/test/kotlin/adventofcode/Day09Test.kt) | 1,007 |
| [Day 10: Hoof It](src/test/kotlin/adventofcode/Day10Test.kt) | 474 |
| [Day 11: Plutonian Pebbles](src/test/kotlin/adventofcode/Day11Test.kt) | 96 |
| [Day 12: Garden Groups](src/test/kotlin/adventofcode/Day12Test.kt) | 119 |
| [Day 13: Claw Contraption](src/test/kotlin/adventofcode/Day13Test.kt) | 11 |
| [Day 14: Restroom Redoubt](src/test/kotlin/adventofcode/Day14Test.kt) | 452 |
| [Day 15: Warehouse Woes](src/test/kotlin/adventofcode/Day15Test.kt) | 52 |
| [Day 16: Reindeer Maze](src/test/kotlin/adventofcode/Day16Test.kt) | 134 |
| [Day 17: Chronospatial Computer](src/test/kotlin/adventofcode/Day17Test.kt) | 55 |
| [Day 18: RAM Run](src/test/kotlin/adventofcode/Day18Test.kt) | 248 |
| [Day 19: Linen Layout](src/test/kotlin/adventofcode/Day19Test.kt) | 28 |
| [Day 20: Race Condition](src/test/kotlin/adventofcode/Day20Test.kt) | 515 |