✔️ Easy C++ Solution
\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) {\n        int curr=1, ans=1;\n        for(int i=1; i<nums.size(); ++i){\n            i
```\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) {\n        int curr=1, ans=1;\n        for(int i=1; i<nums.size(); ++i){\n            if(nums[i]>nums[i-1]) ++curr;\n            else curr=1;\n            ans = max(ans, curr);\n        }\n        return ans;\n    }\n};\n```
['C', 'C++']