This repository contains my code for the Advent Of Code (what is it?)2015. You can find the challenges here. I mainly used Python but I also took this opportunity to improve my skills in Rust, JavaScript and a bit of other languages. Enjoy!
In the src
folder, you can find one folder for each day of the challenge (from day-1
to day-25
). In these folders, there are two folders: first-part
and second-part
with my solutions for the first and the second parts of the challenge. In these directories, there are three files. Look below :
day-x
My solutions for the challenge of the dayx
.-
README.md
are the instructions of the challenge, the explanation of my solutions and my feelings about the problem.
-
x-part
contains the solutions for the xth part of the challenge
-
-
main.py
,index.js
, ormain.rs
. It's the code which completes the challenge, respectively in Python, JavaScript or Rust.
-
-
-
input.txt
is the input with what we are going to work with the code (If the input is the same for both parts, this file is located in theday-x
folder).
-
-
-
output.txt
is the result obtained, once the code has been run.
-
Please keep in mind all this work is under the MIT License. Copyright (c) December 2021 - PetitPotiron.
In a nutshell :
- You can do whatever you want with it, just make sure to include the same
LICENSE
file, and to attribute myself.
The Advent Of Code is an online advent calendar which contains programming challenges. Each day, you can solve a problem and maybe enter the leaderboard (yes, there is one!). It is completely free, and you can share solutions since the leaderboard is full. I didn't participate to the 2015 edition, but I created these codes when training on this previous edition.