I have solved problem 10 of Project Euler. I created a google code hosted project here where you can check out the solutions to the problems I have solved. In particular the solution to problem 10 is here
Archive for December, 2008
Solution Project Euler Problem 10 Java
Sunday, December 28th, 2008Solution Problem 9 Project Euler
Monday, December 22nd, 2008Solution Problem 8 Project Euler
Sunday, December 21st, 2008Solution Problem 7 Project Euler
Wednesday, December 10th, 2008Solution Problem 6 Project Euler
Monday, December 8th, 2008I have solved problem 6 of Project Euler. I created a google code hosted project here where you can check out the solutions to the problems I have solved. In particular the solution to problem 6 is here
The solution only has the optimization of finding the sum of the nth number through the formula
sum(n) = n * ( n + 1) / 2
Hope the solution is understandable. If not, don’t hesitate to put a comment.
Solution Problem 5 Project Euler
Friday, December 5th, 2008I have solved problem 5 of Project Euler. I created a google code hosted project here where you can check out the solutions to the problems I have solved. In particular the solution to problem 5 is here
A brute force approach to solving this problem. The solution has a minor optimization which is to increase the outer loop by 20 (the “limit” variable) in each iteration.
Hope the solution is understandable. If not, don’t hesitate to put a comment.