Welcome to the Advent of Code solutions repository! 🎄✨
This repository contains my solutions for the challenges from Advent of Code, an annual coding event held during December. Each day features a fun and unique problem-solving exercise that combines programming, algorithms, and creativity.
The solutions are organized by day, with each day's folder containing:
README.md: Explanation of the day's problem.solution.py: My Python implementation of the solution.input.txt: The puzzle input provided for that day.example_input.txt: (Optional) Example input used for testing.
.
├── Day1/
│ ├── README.md
│ ├── solution.py
│ ├── input.txt
│ └── example_input.txt
├── Day2/
│ ├── README.md
│ ├── solution.py
│ ├── input.txt
│ └── example_input.txt
...
└── README.md
-
Clone the Repository
git clone https://github.com/your-username/advent-of-code-solutions.git cd advent-of-code-solutions -
Run a Solution
Navigate to the folder of the specific day and execute the Python script:python solution.py
-
Test with Custom Input
Replace the content ofinput.txtwith your custom input if you want to test with a different set of data.
- Language: Python 🐍
- Tools: Standard libraries, optional libraries like
numpyorcollectionsfor optimization.