in reply to Re^2: Derangements iterator
in thread Derangements iterator
You misunderstood what was being deranged. What you list as the original is not the original, but merely the (unordered) set. Shuffling provides the "original" order, and rotation provides the derangement of that order.
Caution: Contents may have been coded under pressure.
Caution: Contents may have been coded under pressure.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Derangements iterator
by Anonymous Monk on Dec 31, 2005 at 12:29 UTC | |
by Jedaļ (Initiate) on Dec 31, 2005 at 13:34 UTC |
In Section
Cool Uses for Perl