![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
(Golf) Per Mutationsby MeowChow (Vicar) |
on May 03, 2001 at 23:45 UTC ( #77751=perlmeditation: print w/replies, xml ) | Need Help?? |
Another deceptively easy challenge: compose a golfed sub that takes an arbitrary list, and returns a list of all arrays that are permutations of that list. My best attempt is currently 72 chars:
Extra Credit: Produce a non-recursive solution. MeowChow s aamecha.s a..a\u$&owag.print
Back to
Meditations
|
|