Very simple C++ solution.
\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) {\n        int count =1;\n        int maxi =1;\n        \n        for(int i=0; i<nums.s
```\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) {\n        int count =1;\n        int maxi =1;\n        \n        for(int i=0; i<nums.size()-1; i++){\n            if(nums[i+1] > nums[i]){\n                count++;\n                maxi = max(maxi, count); \n            }\n            else{\n                count =1;\n            }\n        }\n        return maxi;\n    }\n};\n// Upvote please if you like it.\n```
['C']