O(n) with go
\nfunc findLengthOfLCIS(nums []int) int {\n    res, current := 1, 1\n    \n    for i := 1; i < len(nums); i++ {\n        if nums[i] > nums[i-1] {\n            c
```\nfunc findLengthOfLCIS(nums []int) int {\n    res, current := 1, 1\n    \n    for i := 1; i < len(nums); i++ {\n        if nums[i] > nums[i-1] {\n            current++            \n        } else {\n            if current > res {\n                res = current\n            }\n            \n            current = 1\n        }\n    }\n    \n    if current > res {\n        res = current\n    }\n    \n    return res\n}\n```
['Go']