Project Euler is a website that offers maths puzzles that typically can be solved with computer programming. My solutions can be divided up into two versions of the challenge: Euler Classic and Euler Plus.
Project Euler: Classic (solutions in D programming language)
Euler Classic is the original projecteuler.net website that offers the problems to be solved. Here, one only needs to input the correct answer that is typically solved through programming. I implemented my solutions in the D programming language.
Description | Notes | |
---|---|---|
1 | Multiples of 3 and 5 | |
2 | Even Fibonacci numbers | |
3 | Largest prime factor | ported some code from GeeksForGeeks.org |
4 | Largest palindrome product | |
5 | Smallest multiple | |
6 | Sum square difference | |
7 | 10001st prime | ported some code from GeeksForGeeks.org |
8 | Sum square difference | got some help from StackOverflow |
9 | Special Pythagorean triplet | |
10 | Summation of primes | reused some code from problem 7 |
Project Euler: Plus (solutions in multiple programming languages)
ProjectEuler+ is a version of Project Euler on hackerrank.com, with the major difference being that a solution is submitted not as the final answer, but as a programme, and the submittion is subject to multiple test cases to demonstrate its correctness.
Description | Solution(s) | Notes | |
---|---|---|---|
1 | golang | doesn't pass all test cases | |
2 | python | ||
6 | python | ||
13 | python |