Skip to content
RED SAG Skills
medium10 pts · first answer countsstacks-and-queues

Task scheduler with a cooldown

A CPU runs tasks A, A, A, B, B, B, one per time slot. The same task must wait at least 2 slots before it runs again (idle is allowed). What is the minimum number of slots?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions