Skip to content

My solutions to Project Euler problems in multiple languages

Notifications You must be signed in to change notification settings

LivInTheLookingGlass/Euler

Repository files navigation

LivInTheLookingGlass’s Project Euler solutions

Language Version Solved Status
C C11+ in: gcc,
clang, msvc,
pcc, tcc
17 Ci
C# .NET 2+ 5 C#i
JavaScript Node 12+ 5 JavaScript
Python CPython 3.6+
Pypy 3.6+
GraalPy 23.1+
70 Python
Rust 1.69+ 10 Rust
Documentation (in progress) Pages
Code Coverage Coverage
Code Scanning CodeQL
ESLint
RustClippy

Coverage

https://codecov.io/github/LivInTheLookingGlass/Euler/graphs/icicle.svg?token=6GHBNILEHG

This is the repository I keep for prospective employers to look at project Euler code that I have written.

This is useful because it has defined problems and answers such that you can compare answers with other people.

All solutions are tested against multiple operating systems and language/compiler versions. For more information, see .github/workflows/

This is NOT meant to help others on Project Euler problems

If you are working on Project Euler problems, DO NOT use this as a source

The repo is divided into sections for each language. The top-level Makefile will direct recipes using prefixes

  • make c_* will go to the c Makefile
  • make cs_* will go to the csharp Makefile
  • make docs_* will go to the docs Makefile
  • make js_* will go to the javascript Makefile
  • make py_* will go to the python Makefile
  • make rs_* will go to the rust Makefile
  • Any make recipes supported by Sphinx will be redirected to the docs Makefile
  • All other recipes will be run for all languages

For more information, please see the README documents in each section.

Roadmap

  1. Make sure no language is below Makefile in code percentage
  2. Create a C++ section
  1. Make stubs for test code
  2. Port C infrastructure to C++
  3. Write minimal documentation
  4. Port problems 1-n, until higher than Makefile percentage
  1. Repeat step 1
  2. Create a Ruby section