This repository contains my solutions for the 2015 edition of Advent of Code, an annual programming event!
Each day presents a puzzle (usually in two parts), perfect for improving algorithmic skills and TypeScript knowledge.
- One puzzle per day
- Algorithm-focused, clean and testable code
- Pedagogical approach (explanations, attempts, alternatives)
adventofcode/
└── 2015/
└── days/
├── day-01/
│ ├── index.ts
│ └── input.ts
│ └── package-lock.json
│ └── package.json
│ └── README.md
│ ├── solution.ts
│ ├── solution.spec.ts
│ └── tsconfig.json
├── day-02/
│ └── ...Each day folder contains:
index.ts– file that read input, import solution and run itinput.ts– official puzzle inputsolution.ts– solution for the puzzlesolution.spec.ts– unit testspackage.json– dependencies and scripts specific to that day
Move inside the folder of the day you want to work on.
npm install npm start npm test- Each day includes notes and thoughts on algorithms, complexity, alternatives, and useful links inside the solution files.
- Folder and file names match puzzle titles to ease navigation.
Happy coding and enjoy the puzzles!
Dramane-dev 👋🏽