Slowest Eating Speed

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

A panda has several piles of bamboo and a number of hours. Each hour it picks one pile and eats a fixed number of stalks from it, leaving the rest of the hour idle if the pile runs out. Find the slowest eating speed that finishes all the piles within the hours. Explain your approach and its cost.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →