comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: How to shuffle/jumble letters of a given word?
Date: Thu, 2 Jul 2015 15:56:56 -0500
Date: 2015-07-02T15:56:56-05:00	[thread overview]
Message-ID: <mn4jj0$n50$1@loke.gir.dk> (raw)
In-Reply-To: mms19k$gpm$2@dont-email.me

"Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> wrote in message 
news:mms19k$gpm$2@dont-email.me...
> On 06/29/2015 01:05 AM, Simon Wright wrote:
>> "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> writes:
>>
>>> You could also just sort the String.
>>
>> I don't see how this would work?
>
> "HELLO" sorted would become "EHLLO"; "WATER", "AERTW"; "ART", "ART". All
> possible random permutations of the original word.

Huh? You sort "HELLO" and get "WATER"? That's quite an amazing sort program. 
I've written programs that did stuff like that, but I don't recall ever 
claiming that I meant to do that. :-)

                                     Randy.



  reply	other threads:[~2015-07-02 20:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-28 14:06 How to shuffle/jumble letters of a given word? Trish Cayetano
2015-06-28 15:52 ` David Botton
2015-06-28 16:01   ` Anh Vo
2015-06-28 21:07 ` Simon Wright
2015-06-28 21:23   ` Jeffrey R. Carter
2015-06-29  8:05     ` Simon Wright
2015-06-29  8:13       ` Dmitry A. Kazakov
2015-06-29 18:04       ` Jeffrey R. Carter
2015-07-02 20:56         ` Randy Brukardt [this message]
2015-06-29 13:42 ` darkestkhan
2015-06-29 20:21 ` Austin Obyrne
2015-06-29 21:45 ` MM
2015-06-30 12:29 ` Austin Obyrne
2015-07-01 10:40   ` darkestkhan
2015-08-09 21:50     ` David Thompson
2015-08-10 15:20       ` darkestkhan
2015-07-11 15:29 ` Trish Cayetano
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox