desi-belokonska / project-euler

My solutions to the Project Euler problems 🧮

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Euler

This repository includes my solutions to the Project Euler problems. The tests are taken from freecodecamp's version. Although Project Euler discourages people from uploading their solutions online so as not to deprive others from the joy of solving it on their own, freecodecamp's tests already give away the answer. I believe the solution is the more interesting part, not the answer, so that's why I want to keep a record of them here.

All the problems are solved in TypeScript using the runtime environment deno.

Installation

Unlike node, deno doesn't need 150MB+ node_modules in every folder for having basic test functionality and Typescript support. So all you need to do is install deno.

Running the tests

Once inside a problem directory of the type n_problem-name (eg. 01_multiples-3-5) you just need to run the test command:

cd 01_multiples-3-5
deno test

Commit naming strategy

All commits are prefixed with the number of the problem they are related to, followed by a short description.

About

My solutions to the Project Euler problems 🧮

License:MIT License


Languages

Language:TypeScript 100.0%