You are given an integer array nums and an integer k.
In a single operation, you can choose any element in nums and increment its value by
Return the total number of contiguous subarrays of nums that can be made non decreasing by performing at most k operations.
Note: A subarray is non decreasing if each element is greater than or equal to the element immediately before it.
Constraints:
nums.length
nums[i]
k
You are given an integer array nums and an integer k.
In a single operation, you can choose any element in nums and increment its value by
Return the total number of contiguous subarrays of nums that can be made non decreasing by performing at most k operations.
Note: A subarray is non decreasing if each element is greater than or equal to the element immediately before it.
Constraints:
nums.length
nums[i]
k