6 ms·
Project Euler - Fun Math and Programming Problems
- kobs 19y agoThere's another website similar to this one: Sphere Online Judge (SPOJ) - http://www.spoj.pl/ http://www.spoj.pl/. The problems are much more varied, though. I can definitely see the utility in working on these type of problems: a list of exercises to work through when learning a new language, or most of all, improving your problem solving skills. Sometimes I wonder though, why do some people enjoy working on (solved) challenging problems -- rather than tackling something novel?
- mmp 19y agoIt can be very interesting to see what other coders did and compare it with your own solution, in the messageboard (when you solve a problem you get access to the corresponding thread). You can compare the actual algorithms and ways to approach the problem, of course, and they can be very varied, so you end up learning a thing or two. And the languages themselves, you can see their strengths and weaknesses in particular areas. It stimulates curiosity and opening your mind to new ways of doing things. I think that's important and valuable because when you think about it, there aren't that many opportunities to do so. Also, when you're tackling something novel, it seems to me you're going to restrict yourself pretty early to tools you already know, and you're not going to try radically new things once you're into it because the penalty would be too high (I may be wrong though).
- jonp 19y agoAgreed. There's quite a diversity of solutions ranging from brute-force, through "computer science" optimisations, to clever mathematics. And as someone who had mainly programmed in various versions of Basic before it's been eye-opening to see a range of different languages and their strengths and weaknesses. In particular some of the solutions in J (http://www.jsoftware.com/ http://www.jsoftware.com/) struck me as quite remarkable.
- jey 19y agoBecause they're puzzles. It's a fun challenge.
- deleted 19y ago[deleted]
- Tichy 19y agoNice idea, but somehow I have the impression that all the problems can be solved in the same way (same brute force algorithm).
- Bluem00 19y agoI'm addicted to this, but I've also considered using it as a source of content for some interview problems.
- Tichy 19y agoI've started to do the exercises in Erlang now, which is also my first practical experience with Erlang, and it is actually a lot of fun. Thanks for posting!
- Tichy 19y agoThe language statistics are interesting: big lead for C/C++. I wonder if those are students forced to use C/C++ by their university, or if C/C++ is really still that popular.
- deleted 19y ago[deleted]
- deleted 19y ago[deleted]