Longest Increasing Subsequence | judge.