From: andrea Date: 2008-12-27T17:59:55+09:00 Subject: Re: Buiding anamgrams Thanks a lot everyone, now I already posted but don't know why it doesn't appear my message. Anyway you're right Axel, this is the first "solution" to the problem but it's really too slow for any reasonable large size of the string. This is the code, any hint about style or whatever is welcome: http://pastie.textmate.org/private/rp4ivw36vefuz07twjlw3g I'll have a look to the Markov Chain (which I'm studying right now at uni).