/advent-of-code-2024

Python-based solutions to the daily coding challenges from Advent of Code 2024. Each day’s folder includes input data and scripts for solving both parts of the challenge.

Primary LanguagePython

🎄 Advent of Code 2024 Solutions 🎄

image

Welcome to my repository for Advent of Code 2024! This project contains my solutions to the daily coding challenges, organized by day. Each folder represents a specific day and contains the input data and Python scripts for solving both parts of the challenge.

📂 Project Structure

Each day's folder follows this structure:

dayX/
  ├── data.txt         # Input data for the challenge
  ├── part-1.py        # Solution for Part 1
  └── part-2.py        # Solution for Part 2

🐍 Setting Up the Environment

Important

To run the solutions, you will need to have Python installed on your system and create a virtual environment.

Install Dependencies

pip install -r requirements.txt

▶️ Running the Code

To run the solutions, navigate to the corresponding day folder and execute the Python script:

cd dayX/
python part-1.py
python part-2.py

Happy coding! 🎅✨