2970. 统计移除递增子数组的数目 I
统计移除递增子数组的数目 I
- 难度:
easy
- 原始链接: https://leetcode.cn/problems/count-the-number-of-incremovable-subarrays-i
- 标签:
双指针
解法一: 双指针
1 | func incremovableSubarrayCount(nums []int) int { |
easy
双指针
1 | func incremovableSubarrayCount(nums []int) int { |