Longest increasing subsequence

Sign in to test your solution.