← Questions

Task scheduler with a cooldown between identical tasks

0
SpaceXAIWaymoAmazonCodingLast asked Nov 2026

A coding interview question asked in Amazon's coding round and at Waymo and SpaceXAI, last asked Nov 2026. It tests greedy, heaps and counting.

A single-core CPU must run a list of jobs, each an uppercase letter A–Z. Each job takes one time unit.

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

  • Amazon · Coding · Last asked Nov 202655 min · Usually two rounds; one is often an object-oriented design built in steps · No AI
  • Waymo · Technical phone screen · Last asked Oct 202645 min · Coding: a classic algorithm problem or an original, under-specified problem framed around self-driving
  • SpaceXAI · Onsite applied coding · Last asked Jul 2025Two or three rounds, in person (Palo Alto for many roles)

What it tests

greedy · heaps · counting

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