Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Puzzle: Longest Increasing Sequence

by spurperl (Priest)
on Apr 17, 2006 at 09:59 UTC ( #543792=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($low > $n_las) {
             $n_las++;
          }
    
  2. or download this
    def find_lis_greedy(seq)
        n = seq.length
    ...
        
        return lis
    end
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://543792]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-08-21 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (324 votes). Check out past polls.

    Notices?