Schedule Tasks with a Cooldown
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 processor runs tasks labelled with letters, one per time unit, and between two runs of the same letter there must be at least a given number of cooldown units, during which it may run other tasks or sit idle. Given the tasks and the cooldown, find the fewest time units needed to finish them all.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.