6 lines solution | Python | DP | Self explanantory
\nclass Solution:\n    def findLengthOfLCIS(self, nums: List[int]) -> int:\n        n = len( nums)\n        d = [1 for i in range (n)]\n        for i in range (
```\nclass Solution:\n    def findLengthOfLCIS(self, nums: List[int]) -> int:\n        n = len( nums)\n        d = [1 for i in range (n)]\n        for i in range (1,n):\n            if nums[i] > nums[i-1]:\n                d[i] += d[i-1]\n        return max(d) \n```
['Dynamic Programming', 'Python']