in reply to (Golf) Fragment Reassembly
92, although I suspect it may not run in polynomial time...:)
sub assemble {$l=eval(join'+',map{y===c}@_);for$x('a'..'z'x$l,'A'..'Z'x$l){return$x + if!grep{$x!~/$_/}@_}}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: (Golf) Fragment Reassembly
by dws (Chancellor) on May 03, 2001 at 04:43 UTC | |
by indigo (Scribe) on May 03, 2001 at 21:44 UTC |
In Section
Meditations