You are given an integer array nums, where nums[i] is the number of balls in the maxOperations operations.
In one operation, choose a bag containing
Define the penalty as the maximum number of balls in any bag after performing at most maxOperations operations. Return the minimum possible penalty.
Constraints:
nums.length
maxOperations, nums[i]
You are given an integer array nums, where nums[i] is the number of balls in the maxOperations operations.
In one operation, choose a bag containing
Define the penalty as the maximum number of balls in any bag after performing at most maxOperations operations. Return the minimum possible penalty.
Constraints:
nums.length
maxOperations, nums[i]