views:

1352

answers:

7

Duplicate:

Websites like projecteuler.net

I really like the Project Euler website but its emphasis seems to be more on math than programming. While solutions are given in code, the most efficient tend to rely on knowledge of different areas of math.

Is there anything similar that is oriented towards programmers? For (a dumb) example a challenge may be: "Write code to reverse a string", with people then voting on the best solution.

+4  A: 

Ruby Quiz has lots of non-math programming problems. Most of them should work for languages other than Ruby.

yjerem
+5  A: 

You can look at Code Katas, or UVas online judge.

Eclipse
+1  A: 

Ruby Quiz (http://www.rubyquiz.com/) sounds similar to what you're looking for, although it's Ruby-specific

Gabe Moothart
+3  A: 

http://acm.timus.ru/ is another website with programming problems. Almost all of them are harder than anything in Project Euler.

sysrqb
A: 

There is rarely a single "best" solution to a problem like this. Code golf sites will let you find the shortest-source-code solution. Many other sites (ACM, UVA, etc) score based on the efficiency of your solution for known or unknown test cases. Very few sites score for readability, maintainability, robustness, etc.

Sparr
+3  A: 

TopCoder.com

Particularly, go to TopCoder and select Competitions > Algorithm from the menu (or browse around to find the type of competition that interests you). You can go into the arena and view all of the old problems from past competitions once you sign up.

vartec
I might be missing something, or maybe I just need an account to see it, but is there some particular section?
Brian
This is a great option, also a good answer for the other question about how to become a "faster" programmer. I know some coders look down on solving algorithms but it really is the simplest way to improve your core math and logic design skills in the context of a programming language.
Anonymous Type
A: 

It's called coding - get out there and build something ;)

best answer - there is no substitute for "just doing it".
Anonymous Type