Easy to understand
\n    int findLengthOfLCIS(vector<int>& nums) \n    {\n        int mx=0;\n        int n=nums.size();\n        int count=1;\n        int i=0,j=1;\n        if(n==
```\n    int findLengthOfLCIS(vector<int>& nums) \n    {\n        int mx=0;\n        int n=nums.size();\n        int count=1;\n        int i=0,j=1;\n        if(n==1) return 1;\n        \n        while(j<n)\n        {\n            if(nums[i]<nums[j])\n            {\n                count++;\n                i++;\n                j++;\n                mx=max(mx,count);\n            }\n            else\n            {\n                mx=max(mx,count);\n                count=1;\n                i++;\n                j++;\n            }\n        }\n        return mx;\n    }\n```
['Two Pointers', 'C', 'C++']