Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Longest Common SubSequence Not Working Correctly

by blokhead (Monsignor)
on Nov 14, 2007 at 14:58 UTC ( [id://650763]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub lcsbruteforce {
      my($x, $y) = @_;
    ...
      }
      return $v[length($x) - 1][length($y) - 1];
    }
    
  2. or download this
    $best = "";
    
    ...
          $best = $s if length($s) > length($best);
    
    return $best;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found