Minimum number of operations to make maximum element of every subarray of size K at least X
Given an array A[] of size N and an integer K, find minimum number of operations to make maximum element of every subarray of size K at least X. In one operation, we can increment any element of the array by 1. Examples: Input: A[] = {2, 3, 0, 0, 2}, K = 3, X =4Output: 3Explanation: Perform followin