python easy solution
\n\n        max_res = 0\n        count = 0\n        for i in range(len(nums)):\n            if i == 0 or nums[i] > nums[i - 1]:\n                count += 1\n   
\n\n        max_res = 0\n        count = 0\n        for i in range(len(nums)):\n            if i == 0 or nums[i] > nums[i - 1]:\n                count += 1\n                max_res = max(max_res, count)\n            else:\n                count = 1\n        return max_res
[]