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;