Duplicate:
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.