Help for this page

Select Code to Download


  1. or download this
    $ perl balanced.pl 3                                        
    ()()()
    ...
    $ perl lcs.pl abcdef acdegh
    p=0     q=0     l=1
    p=2     q=1     l=3
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        shift;
        print @_, "\n";
    }
    
  3. or download this
    #!/usr/bin/perl
    
    ...
        }
        return ( $p, $l );
    }