Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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??

Help for this page

Select Code to Download


  1. or download this
    ....
            if ($end > @result) {
                @result = @a[0..$end-1];
            }
    ...
    
  2. or download this
    ...
            if (--$end > @result) {
                @result = @a[0..$end];
            }
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-03-28 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found