wolis has asked for the wisdom of the Perl Monks concerning the following question:
So you can't know beforhand how many things in the list and make a boring set of while loops to match.
I'm sure this has been done already but I have been working on this in my spare time.. trying to find a pattern of swapping 2 items in the list each time till all items have occupied all possitions in the list.
Any thoughts?
Any solutions you have prepared earlier?
___
/\__\ "What is the world coming to?"
\/__/ www.wolispace.com
| Replies are listed 'Best First'. | |
|---|---|
|
Re: puzzles and permutations
by Paladin (Vicar) on Sep 03, 2003 at 00:59 UTC | |
by wolis (Scribe) on Sep 05, 2003 at 01:56 UTC | |
|
Re: puzzles and permutations
by Anonymous Monk on Sep 03, 2003 at 00:59 UTC |