Back to Binary SearchKoko Eating Bananas
Medium

Koko Eating Bananas

MediumRecommendedBinary Search on Answer

Koko must eat all the bananas in a set of piles within h hours, eating at a constant speed of k bananas per hour per pile. Find the minimum integer k that lets her finish in time.

Loading editor…

No sample test cases yet.

Code execution is coming soon.