Skip to content
RED SAGSkills
medium10 pts · first answer countssorting-and-searching

Slowest speed to finish within H hours

Piles of bananas are [3, 6, 7, 11]. Eating at speed k per hour, each pile takes ceil(pile / k) hours, one pile at a time. What is the smallest k that finishes all piles within 8 hours?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions