Thursday, February 12, 2015

Project Euler Part 1




I decided to try something new today (for me). I am doing the project euler challege.

I don't know if  I'll manage to do and solve all 502 current problems, but what the heck, I'll giving it a try anyways.

So here is the code (javascript) for the first problem:

It has a complexity of O(n).

0 comments:

Post a Comment