Simple and Easy || C++ ||
\nclass Solution\n{\npublic:\n    int findLengthOfLCIS(vector<int> &nums)\n    {\n        int mn = INT_MIN, cnt = 0, mx = 0;\n        for (auto it : nums)\n    
```\nclass Solution\n{\npublic:\n    int findLengthOfLCIS(vector<int> &nums)\n    {\n        int mn = INT_MIN, cnt = 0, mx = 0;\n        for (auto it : nums)\n        {\n            if (it > mn)\n            {\n                mn = it;\n                cnt++;\n            }\n            else\n            {\n                mx = max(cnt, mx);\n                mn = it;\n                cnt = 1;\n            }\n        }\n        mx = max(cnt, mx);\n        return mx;\n    }\n};\n```
['C']