[LintCode] Longest Increasing Continuous subsequence II