Project Euler (a really good algorithm challenge resource)

So, for those of you who didn’t know (a lot of you, it looks like, which is strange, because it has its own category), Project Euler is a giant collection of algorithm challenges that probably won’t be exhausted any time soon with the vast amount of people submitting challenges.

How it works it that you are given a mathematical challenge, and just have to write a program that finds the answer. Here’s the first problem, not too hard, right?

Do be warned that these problems are math oriented, so they do get really into mathematical topics, and can end up looking insane (Look at the final problem). However, if you’re struggling with either math or algorithms, this can help. (This doesn’t teach you anything in particular, it’s only practice.)

Start here.


Here is a working example if anyone is interested. example

1 Like