Minimum Number of Boxes to Unload
Given an array of positive numbers and a capacity c, find the minimum number of boxes to unload so that the maximum value in the array is less than or equal to the capacity multiplied by the minimum value in the array.
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early October, 2024
Amazon
Junior
Given an array of positive numbers and a capacity c, find the minimum number of boxes to unload so that the maximum value in the array is less than or equal to the capacity multiplied by the minimum value in the array
Hello Interview Premium
Your account is free and you can post anonymously if you choose.