Koko Eating Bananas at DoorDash

Medium49.7% acceptance

This problem has 75.0% frequency at DoorDash.

Problem Description

Koko loves to eat bananas. There are `n` piles of bananas, the `ith` pile has `piles[i]` bananas. The guards have gone and will come back in `h` hours. Koko can decide her bananas-per-hour eating speed of `k`. Each hour, she chooses some pile of bananas and eats `k` bananas from that pile. If the p...

Read full problem and hints

Topics

Also asked at 40 companies


More DoorDash Questions

View all DoorDash questions