Given an integer array nums and an integer threshold, find the smallest positive integer d such that the sum of ceil(nums[i] / d) is ≤ threshold.
1 ≤ nums.length ≤ 5 * 10⁴1 ≤ nums[i] ≤ 10⁶nums.length ≤ threshold ≤ 10⁶Same shape as Koko — feasibility at d is sum of ceiled divisions ≤ threshold.
5