Re: Permutations

From: Tony Dahlman (adahlman_at_jps.net.invalid)
Date: 11/12/03


Date: Tue, 11 Nov 2003 19:14:59 -0800
To: Andy Fish <ajfish@blueyonder.co.uk>

Andy Fish wrote:
>
> I smell a rat here, every time anyone asks an interesting question, Roedy's
> already got on the answer on mindprod.
>
> I reckon either (a) he puts a new page on mindprod in response to the
> question, and then pre-dates it to make it look like he wrote it previously;
> or (b) these questions are all faked up by Roedy to advertise the site.
>
> ;-))))))
>
Oh yeah, he does advertise the site this way, but if he ever faked
questions on the newsgroup he probably stopped years ago.

But permutations is a really old question for CS classes, as
mentioned earlier in this thread. It was so interesting in 1998
that I also wrote code "for the fun of it":

  http://pws.prserv.net/ad/programs/Programs.html#ShowPerms

And you can do it, too. Hey, why not?

Hoping you will. Tony Dahlman

> "Roedy Green" <roedy@seewebsite.com> wrote in message
> news:sdg0rvskg3q28mdf379gm300lrpg4p3efa@4ax.com...
> > On Mon, 10 Nov 2003 17:07:30 -0600, "Philip Reames"
> > <as_126@hotmail.com> wrote or quoted :
> >
> > >As part of a much larger project, I'm trying to generate all the possible
> > >permutations of n digits (where n is about 10-15). I had thought
> something
> > >this basic would have been supported somewhere, but I can't find it in
> the
> > >Sun reference stuff
> >
> > see http://mindprod.com/jgloss/permutation.html
> >
> > --
> > Canadian Mind Products, Roedy Green.
> > Coaching, problem solving, economical contract programming.
> > See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.

---------------------------------------
a(nospace)dahlman(at)attglobal(dot)net