← PayPal questions
CodingMediumReported in a candidate post, Dec 2024

Smallest divisor given a threshold

Filed under PayPal

Given an array of integers 'nums' and an integer 'threshold', find the smallest divisor such that the sum of the results of dividing each element by the divisor (rounded up) is less than or equal to…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related PayPal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.