← Questions

Minimum eating rate to finish in time

0
AppleCodingLast asked May 2026

A coding interview question asked in Apple's technical phone screen, last asked May 2026. It tests binary-search and arrays.

You have piles of work, piles[i] units each, and h hours. Each hour you choose one pile and process up to k units from it; if the pile has fewer than k units left, you finish it and stay idle for the rest of that hour.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Apple · Technical phone screen · Last asked May 2026

What it tests

binary-search · arrays

Your code and the AI tutor open when you unlock this question.