[)roi(]
Executive Member
- Joined
- Apr 15, 2005
- Messages
- 6,282
Until recently I would fill my free time with a few crossword and / or sudoku puzzles, but for quite a while I've felt they don't either keep me engaged or offer enough of a challenge; so I started looking for a replacement.
During this process I for decided to also consider small programming oriented puzzles, so no surprise when Euler appeared in the search results. Probably like many of you I've in the past tried a few of the Euler challenges and ended up thinking meh? but that was because I rarely looked beyond the first ten or so challenges. So lacking any clear or better alternatives I decided to give Euler another try....
I'm 96 puzzles in, and busy with a Sudoku inspired challenge, which inspired this post -- wondering how many of you also are busy with Euler challenges or something you consider more challenging (or applicable) than Euler.
My Approach
In order to make Euler a bit more challenging (as if it wasn't already); I decided to give myself an extra challenge; that is to make sure every solution was tackled with a Functional Programming style.
Solutions
Btw I'm not going to just post solutions -- because I don't want to spoil the fun of anyone else wanting to tackle Euler problems, but if you need help (or a working solution), you need only send me a PM -- happy to provide pointers, explanations or even coded solution. FYI I written all the solutions in Swift, but all of these can be quite easily translated to other FP enabled languages, e.g. C#, F#, Python, Perl, PHP, Java, ... I'll be happy to help you translate a few (if you need it). Ps. most problems can be solved by brute force or technique -- naturally technique is vital if you want to sub-second times.
Your thoughts
Let me know your thoughts on this? If you've found something you think is a better than Euler, naturally with a focus on programming, then please share it. Also as many if these challenges typically find their way into interviews, it's probably also a good idea to look at challenges that usually pitch up there.
Links:
https://projecteuler.net
Note:
Euler Problems are graded by difficulty e.g. Problem1 is rated as 5% (similarly most of 1st twenty or so)
Whereas problem 96 (my current one) is rated as 25%.
... and that's not where it stops i.e. you'll even find a few of 95 to 100% difficulty problems.
During this process I for decided to also consider small programming oriented puzzles, so no surprise when Euler appeared in the search results. Probably like many of you I've in the past tried a few of the Euler challenges and ended up thinking meh? but that was because I rarely looked beyond the first ten or so challenges. So lacking any clear or better alternatives I decided to give Euler another try....
I'm 96 puzzles in, and busy with a Sudoku inspired challenge, which inspired this post -- wondering how many of you also are busy with Euler challenges or something you consider more challenging (or applicable) than Euler.
My Approach
In order to make Euler a bit more challenging (as if it wasn't already); I decided to give myself an extra challenge; that is to make sure every solution was tackled with a Functional Programming style.
Solutions
Btw I'm not going to just post solutions -- because I don't want to spoil the fun of anyone else wanting to tackle Euler problems, but if you need help (or a working solution), you need only send me a PM -- happy to provide pointers, explanations or even coded solution. FYI I written all the solutions in Swift, but all of these can be quite easily translated to other FP enabled languages, e.g. C#, F#, Python, Perl, PHP, Java, ... I'll be happy to help you translate a few (if you need it). Ps. most problems can be solved by brute force or technique -- naturally technique is vital if you want to sub-second times.
Your thoughts
Let me know your thoughts on this? If you've found something you think is a better than Euler, naturally with a focus on programming, then please share it. Also as many if these challenges typically find their way into interviews, it's probably also a good idea to look at challenges that usually pitch up there.
Links:
https://projecteuler.net
Note:
Euler Problems are graded by difficulty e.g. Problem1 is rated as 5% (similarly most of 1st twenty or so)
Whereas problem 96 (my current one) is rated as 25%.
... and that's not where it stops i.e. you'll even find a few of 95 to 100% difficulty problems.
Last edited: