anchor to 0 and max_length to 1.anchor to the current index.i - anchor + 1.max_length if the current subsequence is longer than the previously recorded maximum length.max_length as the length of the longest continuous increasing subsequence.