Files
advent-of-code-2024/README.md
T

60 lines
3.7 KiB
Markdown
Raw Normal View History

# Advent of Code 2024
This repository contains my solutions for the [Advent of Code 2024](https://adventofcode.com/2024) challenges.
## Languages
I am using C# for this year's challenge again.
## Structure
Each day's solution is contained in a separate folder. Each folder contains:
- A PROBLEM.md file containing the problem description.
- A INPUT.txt file containing the input for the problem.
- A dotnet console application containing the solution.
- An TUnit test project containing unit tests for the solution.
### Prequesties
- [.NET 9.0](https://dotnet.microsoft.com/download/dotnet/9.0)
### Running the Solutions
To run the solutions, navigate to the solution folder and run the following command:
```bash
dotnet run -- <path-to-input-file>
```
Or for part 2 solutions
```bash
dotnet run -- <path-to-input-file> part2
```
You can also build the projects and run the executables directly.
```bash
dotnet build
./bin/Debug/net9.0/<project-name> <path-to-input-file>
```
## Challenges
2024-12-08 22:49:10 -06:00
| Day | Problem | Solution | Notes |
|-----|----------------------------|----------------------------------------|--------------------------------------------------------------------------------------------------------|
| 01 | [Problem](./01/PROBLEM.md) | [Solution](./01/HistorianHysteria/) | A great way to start! |
| 02 | [Problem](./02/PROBLEM.md) | [Solution](./02/RedNosedReports/) | Damn their was an edge case that really bit me...direction change after first pair of levels |
| 03 | [Problem](./03/PROBLEM.md) | [Solution](./03/MullItOver/) | Thank goodness this wasn't a repeat of day 2. |
| 04 | [Problem](./04/PROBLEM.md) | [Solution](./04/CeresSearch/) | This was fun! Definitely was able to see the growth in my abilities here. |
| 05 | [Problem](./05/PROBLEM.md) | [Solution](./05/PrintQueue/) | A graph to the rescue! |
| 06 | [Problem](./06/PROBLEM.md) | [Solution](./06/GuardGallivant/) | I kind of brute forced part two... |
| 07 | [Problem](./07/PROBLEM.md) | [Solution](./07/BridgeRepair/) | Not perfect or pretty, but good enough |
| 08 | [Problem](./08/PROBLEM.md) | [Solution](./08/ResonantCollinearity/) | Without some help from chat I don't know where I'd be...to be fair the description kind of mislead me. |
2024-12-09 20:04:30 -06:00
| 09 | [Problem](./09/PROBLEM.md) | [Solution](./09/DiskFragmenter/) | Doing things with indexes is error prone. |
2024-12-10 20:52:40 -06:00
| 10 | [Problem](./10/PROBLEM.md) | [Solution](./10/HoofIt/) | I recognized the solution for this based on pattern from last year. Solved using BFS. |
2024-12-12 00:01:22 -06:00
| 11 | [Problem](./11/PROBLEM.md) | [Solution](./11/PlutonianPebbles/) | Dictionary > List |
2024-12-13 22:01:35 -06:00
| 12 | [Problem](./12/PROBLEM.md) | [Solution](./12/GardenGroups/) | CORNERS == SIDES |
2024-12-14 12:58:28 -06:00
| 13 | [Problem](./13/PROBLEM.md) | [Solution](./13/ClawContraption/) | Yay for algebra |