You are given a nums of length n, and an integer k.
In one operation, you can choose any index i such that $0 \leq i < n and increase nums[i] by
The array nums is considered beautiful if the maximum element in every subarray of size at least k.
Return the minimum number of increment operations required to make nums beautiful.
Constraints:
You are given a nums of length n, and an integer k.
In one operation, you can choose any index i such that $0 \leq i < n and increase nums[i] by
The array nums is considered beautiful if the maximum element in every subarray of size at least k.
Return the minimum number of increment operations required to make nums beautiful.
Constraints: