Find Increasing Subsequence of Length 3