🎄 Advent of Code Solutions

This repository contains my solutions to the Advent of Code challenges.

2024 Solutions

Day Problem Solution Language Stars
01 Day 1 Solution C ⭐⭐
02 Day 2 Solution C ⭐⭐
03 Day 3 Solution C
04 Day 4 Solution C
05 Day 5 Solution C
06 Day 6 Solution C
07 Day 7 Solution C
08 Day 8 Solution C
09 Day 9 Solution C
10 Day 10 Solution C

Repository Structure

.
├── README.md
└── 2024
    ├── day01
    │   ├── input.txt
    │   └── solution.c
    ├── day02
    │   ├── input.txt
    │   └── solution.c
    └── ...

Running Solutions

Each day's solution can be run from its directory:

# Compile and run
cd 2024/day01
gcc solution.c -o solution
./solution

About

These are my personal solutions to the Advent of Code challenges. Each solution includes:

  • Solution code file (C for the first few days will do different languages for the later challenges)
  • Input data file
  • Brief explanation of the problem (in the solution file) (only sometimes when its somewhat hard)
  • Both parts of the daily challenge