Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Longest Increasing Subset

by BrowserUk (Patriarch)
on Oct 19, 2016 at 21:30 UTC ( [id://1174324]=note: print w/replies, xml ) Need Help??


in reply to Longest Increasing Subset

but for some reason it's not stopping where I expect it to and giving the answer (2 6 7 4 3)

Ignore this: I misread the text. Can you explain how (2 6 7 4 3) is an "increasing subset"? (Let alone the longest.)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-23 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found