Longest Continuous Increasing Subsequence(dp)
Example 2:
Note:Length of the array will not exceed 10,000.
分析
dp[]或者直接dp,dp[i] = nums[i-1]<nums[i]? dp[i-1] + 1: 1
注意python : if not nums
Last updated
Example 2:
Note:Length of the array will not exceed 10,000.
分析
dp[]或者直接dp,dp[i] = nums[i-1]<nums[i]? dp[i-1] + 1: 1
注意python : if not nums
Last updated