Categorygithub.com/sunilbpandey/project-euler
repository
0.0.0-20240923064808-a9a762e127f6
Repository: https://github.com/sunilbpandey/project-euler.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Project Euler

Solutions to Project Euler problems.

Go Python TypeScript

Progress

12345678910
11121314151617181920
21222324252627282930
31323334353637383940
41424344454647484950
51525354555657585960
61626364656667686970
71727374757677787980
81828384858687888990
919293949596979899100
Go🟩🟩🟩🟩🟩🟩⬜️⬜️⬜️⬜️ (60/100)
Haskell🟩🟩⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️ (23/100)
Python🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 (100/100)
TypeScript🟩🟩⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬜️ (25/100)

Usage

Go

Run all tests

go test -v ./src/tests

Haskell

Solve a specific problem

cabal run . -- <PROBLEM>

Python

[Optional] Create and activate a virtual environment

mkdir .venv
python3 -m venv .venv/euler
source .venv/euler/activate

Install dependencies

pip install -r pip_requirements.txt

Run all tests

pytest -v

TypeScript

Install dependencies

npm install

Solve a specific problem

npm start --silent <PROBLEM>

e.g.

npm start --silent 12

Run all tests

npm test