You are given a nums.
A subarray of nums is called incremovable if the remaining elements of nums are strictly increasing after removing the subarray.
Return the total count of incremovable subarrays in nums.
Note: An empty remaining array is considered strictly increasing. The removed subarray must be non empty.
Constraints:
nums.length
nums[i]
You are given a nums.
A subarray of nums is called incremovable if the remaining elements of nums are strictly increasing after removing the subarray.
Return the total count of incremovable subarrays in nums.
Note: An empty remaining array is considered strictly increasing. The removed subarray must be non empty.
Constraints:
nums.length
nums[i]