Easy Approach || Python3
Approach\n    Simple Intuition\n# Complexity\n- Time complexity:\n    O(N)\n- Space complexity:\n    O(1)\n# Code\npython3 []\nclass Solution:\n    def findLeng
# Approach\n    Simple Intuition\n# Complexity\n- Time complexity:\n    O(N)\n- Space complexity:\n    O(1)\n# Code\n```python3 []\nclass Solution:\n    def findLengthOfLCIS(self, nums: List[int]) -> int:\n        cnt = 1\n        max_cnt = 0\n        if len(nums) == 1:\n            return 1\n        for i in range(1,len(nums)):\n            if nums[i] > nums[i -1]:\n                cnt += 1\n            else:\n                cnt = 1\n            if cnt > max_cnt:\n                max_cnt = cnt\n            \n        return max_cnt\n```
['Python3']