Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Finding largest common subset in lists?

by anjiro (Beadle)
on Jun 05, 2003 at 07:32 UTC ( [id://263244]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Algorithm::Diff qw(LCS);
    @seq1 = qw(a b c d f g h j q z);
    @seq2 = qw(a b c d e f g i j k r x y z);
    @lcs = LCS(\@seq1, \@seq2);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://263244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found