Slowest Processing Speed to Meet a Deadline
Asked at Apple · Coding Questions · Difficulty: Medium · Last asked Apr 14, 2026
A worker has `n` batches of records to process before a deadline that is `h` hours away. The worker picks one fixed speed `k` (records per hour) and keeps it for the whole job. Find the slowest speed that still finishes every batch in time.
Loading the problem…
More Apple interview questions
- LLM conceptual questions
- Implement a Two-Hidden-Layer MLP with Backpropagation in NumPy
- Compare PPO, DPO, and GRPO
- Implement a Vision Transformer (ViT) from Scratch
- Sample from a Gaussian Distribution Using Only Uniform Sampling
- Diagnose a CTR Drop After a Ranking Model Launch