Largest increasing subsequence

hmm