Welcome to my Advent of Code 2024 solutions! This repository contains my solutions for the daily coding challenges released during Advent of Code 2024.
Advent of Code is an Advent calendar of small programming puzzles for a variety of skill levels that can be solved in any programming language you like. People use them as interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other. You can read more about it on the official website: https://adventofcode.com/2024
- This repository contains my solutions to the Advent of Code 2024 challenges.
- I am starting 10 days late, so the first 10 days of challenges will be covered randomly.
- Solutions are written in Java.
Each day's solution is located in a separate file/folder. The general structure is as follows:
adventofcode.day/
├── one/
│ ├── AoCDayOne.java
│ └── dayOne.md
├── two/
│ ├── AoCDayTwo.java
│ └── dayTwo.md
├── ...
└── twentyfive/
└── AoCDayTwentyFive.java
- Each day's folder contains:
- The Java solution (
AoCDayXXX.java
) - The input and problem explanation readme for that day (
dayXXX.md
), if available or required
- The Java solution (
To run any solution, follow these steps:
-
Clone the repository:
git clone https://github.com/dineshrn/Advent-of-Code-2024.git
-
Navigate to the solution folder:
cd adventofcode/day/XXX
-
Compile and run the solution:
javac AoCDayXXX.java java AoCDayXXX
Make sure to replace XXX
with the corresponding day number.
Feel free to fork this repository and do whatever you like 😂. If you encounter any issues or have suggestions for improvements, please open an issue or create a pull request!
This repository is open source and available under the MIT License.