Hmmm.... 25 if you can't have duplicate values in the second array. 39 if you can.
(if it is allowed to return a list, 23 and 37. Remove 0+ from each.)
In reply to Re: Perl Golf-- testing array intersection
by thundergnat
in thread Perl Golf-- testing array intersection
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |