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

Seeking algorithm for finding common continous sub-patterns

by johnnywang (Priest)
on Dec 03, 2004 at 07:06 UTC ( [id://412061]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @a = ( [2,5,10,5,12,6,21,5,10,12,23],
           [5,6,11,10,5,10,6,21,5,1,9],
    ...
        );
    $m = 2;
    $n = 2;
    
  2. or download this
    (5,10) #which occured twice in 1st, once in 2nd and 3rd
    (10,5) # which occured once in 1st and 2nd
    (6,21,5) # which occured once in 1st and 2nd
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found