Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
This repository contains the complete solutions to AoC 2021 and 2022 in python
In total I currently have 100 β.
In this repo you will find the solutions to:
- AoC 2021 in jupyter notebook
- AoC 2022 in python3.10
Create the environment from the environment.yml file inside the specific year folder:
> cd <year> # cd 2022
> conda env create -f environment.yml
To run a single solution:
> conda activate AoC # Activate conda environment
> python3 src/<DAY>.py
At the end of the script is created a log
file inside the <year>
folder.
It will contains the solution and the elapsed time for both part 1 and part 2
for that day.
It is also possible to run all days, at once, within a year using:
> python3 run_all.py
Here is a list of the Advent of Code years for which I have provided solutions:
Feel free to explore each year to see how I approached various problems!
I'm proud to announce that my solutions have been integrated into the awesome-advent-of-code repository. This curated repository compiles the best Advent of Code resources, including language-specific sections.
To directly navigate to the Python section where my solutions reside, you can click here.
Thank you for exploring my Advent of Code journey. I hope you find these solutions insightful and enjoyable!
Distributed under the MIT License. See LICENSE for more information.
Guglielmo Cerri - cerriguglielmo@gmail.com
Project Link: https://github.com/GuglielmoCerri/Advent-of-Code