Longest increasing subsequence complete