@@ -0,0 +1,711 @@
+package array;%0A%0A/**%0A * Created by Yue on 2017/11/2.%0A * leetcode no.674%0A */%0Apublic class LongestContinuousIncreasingSubsequence %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        int%5B%5D nums = new int%5B%5D %7B1, 2%7D;%0A        System.out.println(findLengthOfLCIS(nums));%0A%0A    %7D%0A%0A    public static int findLengthOfLCIS(int%5B%5D nums) %7B%0A        int count = 0, max = 0, cur = Integer.MIN_VALUE;%0A        for (int i = 0; i %3C nums.length; i++) %7B%0A            if (cur %3C nums%5Bi%5D) %7B%0A                count++;%0A            %7D%0A            if (cur %3E= nums%5Bi%5D %7C%7C i == nums.length - 1)%7B%0A                max = Math.max(max, count);%0A                count = 1;%0A            %7D%0A            cur = nums%5Bi%5D;%0A        %7D%0A        return max;%0A    %7D%0A%7D%0A

add leetcode no.674