Skip to content
RED SAGSkills
hard20 pts · first answer countsarraysbinary-search

Minimum eating speed by binary search

Piles of bananas are [3, 6, 7, 11] and Koko has 8 hours. Each hour she eats up to k bananas from one pile. What is the smallest k that lets her finish?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions