Put your math and coding skills to work with Project Euler

By 30th March 2014 No Comments

Do you want to be challenged? Why not try your hands at over 400 mathematics problems that require you to develop an algorithm to solve them!

A couple of weeks ago, one of my house-mates introduced me to Project Euler, a project that provides you with a vast number of mathematical problems that require you to solve them by programming. At the time, I was too busy with my final year project and assessed coursework that I didn’t think I would have time to take a look.

I then hit one of those walls where you need something new to code so you can stop stressing about why your current project isn’t working. In most cases, it will usually help you to figure out what was wrong just by focussing on something like one of the Project Euler problems for an hour.

The great thing about Project Euler is that all it is expecting is an answer to the solution which means that you can code your algorithm in whatever programming language you feel comfortable with.

Here is my current number of problems solved out of a possible 465. You don’t have to solve them all in order but you’ll find that the earlier ones are rather easy and most of them have similar connections.

Once you’ve solved a problem, you then get access to a hidden forum that you can discuss your solution with others to compare your algorithms. Its great to finish one of the problems and see how many people have done it a different way in a multitude of programming languages. Obviously, I have developed mine in C# but there are thousands of others programming in Ruby, Javascript, Python, C, C++, Java, CUDA, Scala, Haskell, Perl and so many more languages.

Its a great little project and I highly recommend you check it out:

Author James Croft

James is a .NET developer for Black Marble Ltd. with over 5 years app development experience in Microsoft platforms. He enjoys blogging, helping others learn to code, making YouTube videos, spending time with his girlfriend but most of all, penguins.

More posts by James Croft

Leave a comment