Welcome to my repository containing JavaScript 🎃 solutions for Advent of Code challenges. Each day's solution is organized in the src/[year]/day[1-25]
directory structure, where [year]
is the specific year of Advent of Code, and [1-25]
corresponds to the day of the challenge.
src/[year]/day[1-25]
day[1-25].test.js
: Test file for the solutions. You can run this file to verify that the solutions are working correctly.solution.js
: JavaScript file containing solutions for both Part 1 and Part 2 of the Advent of Code challenge for that day.input.txt
: Placeholder file where you should add your specific input for the day's challenge. Make sure to replace it with the actual input for the day.
To use my solutions, follow these steps:
-
Clone the Repository:
git clone https://github.com/Mirzohid22/AOC.git
-
To Run all tests:
yarn test
or for specific
npx jest day[1-25].test.js