Skip to content

cijhho123/Project-Euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

logo

My solutions for https://projecteuler.net

What is Project Euler?

Project Euler (named after Leonhard Euler) is a website dedicated to a series of computational problems intended to be solved with computer programs. The project attracts adults and students interested in mathematics and computer programming. Since its creation in 2001 by Colin Hughes, Project Euler has gained notability and popularity worldwide. It includes over 750 problems, with a new one added approximately every two weeks. Problems are of varying difficulty, but each is solvable in less than a minute of CPU time using an efficient algorithm on a modestly powered computer. As of 27 April 2021, Project Euler has more than 1,000,000 users who have solved at least one problem, in over 100 different programming languages.

A copy of all the problems can be found /Problems/, and the original can be found here.
Assets such as images and external text files can be found under /assets/.
An offile copy of the website can be found under /Full website/

My Solutions

  • All the Solutions are written in Java.
  • From time to time I will write my own implementation of classes instead of using the build-in ones, Creating your own version help understanding deep concepts. (for example see Problem 13, where i used my own big number implementation instead of using java.math.BigInteger)
  • Considering the mathematical nature of the problems, i will try to find mathematical solution and optimize the code instead of Bruteforcing it to obey the "one minute rule"
  • In some problems where I find a few approaches to a problem i will write them one after another in the same .java (for example see problem Problem 1

What about cheating?

Of course, it is possible for one to mindlessly copy and paste solutions one by one into Project Euler to gain ranks. Obviously, this is quite pointless, as Project Euler ranks can gain you nothing in the real world. Your account is likely to get banned, and you are only cheating yourself of mathematical learning.

Completed Stages