Koko Eating Bananas
Asked at Eightfold AI · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
You are given an integer array `piles` where `piles[i]` is the number of bananas in the i-th pile, and an integer `h` representing the number of hours to finish eating all bananas.
Loading the problem…