Welcome to my Advent of Code solutions repository! This repository contains my solutions for the Advent of Code challenges.
Advent of Code is an annual event in December where participants solve daily programming puzzles. It's a great way to improve your coding skills and have fun during the holiday season.
Each day's solution is contained within its own directory, named day_xx, where xx is the day number (e.g., day_01 for December 1st). Inside each directory, you will find subdirectories for each part of the puzzle, named part_1, part_2, etc. Inside each part directory, you will find:
solution.py: The solution code in python.solution.js: The solution code in JavaScript.input.txt: The input data for the puzzle.
| Day | Puzzle | Part 1 Solution | Part 2 Solution |
|---|---|---|---|
| 1 | Day 1 | Python / JavaScript | Python / JavaScript |
| 2 | Day 2 | Python / JavaScript | Python / JavaScript |
| 3 | Day 3 | Python / JavaScript | Python / JavaScript |
| 4 | Day 4 | Python / JavaScript | Python / JavaScript |
To run the solutions, navigate to the respective day's part directory and execute the solution file. For example:
For Python:
cd day_01/part_1
python solution.pyFor JavaScript:
cd day_01/part_1
node solution.js