Python | Single pass | Simplest Self Explanatory Code
\nclass Solution:\n    def findLengthOfLCIS(self, nums: List[int]) -> int:\n        lcis, cis = 1, 1\n        for i in range(1, len(nums)):\n            if nums
```\nclass Solution:\n    def findLengthOfLCIS(self, nums: List[int]) -> int:\n        lcis, cis = 1, 1\n        for i in range(1, len(nums)):\n            if nums[i] > nums[i-1]:\n                cis += 1\n            else:\n                cis = 1\n            lcis = max(lcis, cis)\n        return lcis\n        \n```\n\n***If you liked the above solution then please upvote!***
['Python']