views:

232

answers:

4

Possible duplicates:

http://stackoverflow.com/questions/24692/where-can-you-find-fun-educational-programming-challenges

http://stackoverflow.com/questions/3088/best-ways-to-teach-a-beginner-to-program

http://stackoverflow.com/questions/6327/what-are-your-programming-exercises

etc...

Hello,

I like to learn new programming languages by practicing.

What I usually do is find a good book about that programming language. I read it. Then I try to find quizzes, code challenges, problems to be solved using that programming language.

Taking Ruby as an example I used those:

So what I am dreaming of is a website listing Programming problems / Challenges / Quizzes. With answers to those problems in various programming languages.

That way I can try to solve them by myself and look at other people answers.

  • Do you know any websites of that kind?

  • Is there a book considered as a reference for programming challenges / Quizzes etc... (if that book is a reference, answers in different programming languages should be available on the net on different location)

  • Could you list, for your main / favorite programming language a book fitting the description I made?

Thank You

+7  A: 

http://projecteuler.net/

Here you'll find puzzles ranging from quite simple to pulling-all-your-hair-out-in-frustration difficult. Once you get the answer, you can see other people's solutions in lots of different languages, including C#, Haskell, x86 assembly (!), Java, C, etc.

pyrochild
Note that these tend to be math-heavy.
pyrochild
+4  A: 

Project Euler has already been mentioned, so I'll say some other alternatives:

TopCoder - C++, VB, Java, C# and Python.

Anarchy Golf - many languages.

Mark Byers
+1  A: 

Look at this question

cetnar
A: 

what can be better than this very SO site. It works for me already. I learn the name of new language/technology every day. and even can solve some problem every other day too

RocketSurgeon