C++ Easy Solution
\n\n# Code\n\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) {\n        int maxi=1;\n        int c=1;\n        for(int i=0;i<nums.size()
\n\n# Code\n```\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) {\n        int maxi=1;\n        int c=1;\n        for(int i=0;i<nums.size()-1;i++){\n            if(nums[i]<nums[i+1]){\n                c++;\n            }\n            else{\n                c=1;\n            }\n            if(maxi<c){\n                maxi=c;\n            }\n        }\n        return maxi;\n    }\n};\n```
['C++']