You are given an array of positive integers nums.
You need to choose a positive integer k. In one operation, you can decrease any element of nums by k. An element is considered eliminated once its value becomes less than or equal to nums[i], it requires nums[i]
Return the minimum positive integer k such that the total number of operations required to make all elements in nums less than or equal to
Constraints:
nums.length
nums[i]
You are given an array of positive integers nums.
You need to choose a positive integer k. In one operation, you can decrease any element of nums by k. An element is considered eliminated once its value becomes less than or equal to nums[i], it requires nums[i]
Return the minimum positive integer k such that the total number of operations required to make all elements in nums less than or equal to
Constraints:
nums.length
nums[i]