laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Finding largest common subset in lists?by Jenda (Abbot) |
on Jun 06, 2003 at 09:32 UTC ( [id://263628]=note: print w/replies, xml ) | Need Help?? |
I'm stupid, stupid, stupid. There should be: instead of The way I have it I'd only update the @result if the newly found list was longer by at least 2 items. The usual off-by-one error :-( Jenda Edit by castaway: Closed small tag in signature
In Section
Seekers of Perl Wisdom
|
|