Java code---6 liner
\npublic int findLengthOfLCIS(int[] nums) {\n        if(nums.length==0) return 0;\n        int length=1,temp=1;\n        for(int i=0; i<nums.length-1;i++) {\n  
```\npublic int findLengthOfLCIS(int[] nums) {\n        if(nums.length==0) return 0;\n        int length=1,temp=1;\n        for(int i=0; i<nums.length-1;i++) {\n            if(nums[i]<nums[i+1]) {temp++; length=Math.max(length,temp);}\n            else temp=1; \n        }\n        return length;\n    }\n```
[]