simple and easy understand solution
if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n\n# Code\n\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) \n    {\n        int mx
# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n\n# Code\n```\nclass Solution {\npublic:\n    int findLengthOfLCIS(vector<int>& nums) \n    {\n        int mx = 1, cur = 1, n = nums.size();\n        for(int i=1;i<n;i++)\n        {\n            if(nums[i] > nums[i-1]) cur++;\n            else \n            {\n                mx = max(mx, cur);\n                cur = 1;\n            }\n        }\n        return max(mx, cur);\n    }\n};\n```
['Array', 'C', 'C++', 'Java', 'C#']