Possible Duplicate:
What would you write if you wanted to learn a new language?
I once read that having a standard set of programming problems that you solve every time you learn a new programming language is a very good thing. It is good because you know in theory how to solve the problem and the only difficulty is in implementing the solution in the language you are trying to learn, which is exactly what you want. My question is for those who do follow this practice. My question is this: What standard programming problems do you solve when you learn a new language?
To get the ball rolling, here's a problem I have implemented a couple of times: Given nine letters, find all the words that are three letters or longer that can be formed using only those nine letters. Furthermore, every word must contain one particular letter. (This problem is one that is given in some of the Australian newspapers.) I like it because it's fairly simple, but still involves file IO, playing with data structures and generating prime numbers (I have a pretty cool method of solving this problem). Here is a Python + AJAX implementation of it.
Note: I thought I read about this practice in Peter Norvig's Teach Yourself Programming in Ten Years, but I think I actually first read about it in this comment here on SO.
Also, if this should be community wiki, please let me know. I haven't quite worked out what should and shouldn't be community wiki, and I haven't seen any official looking guidelines on it.