AlgoMaster Logo

Task Scheduler

tasks=[A, A, A, B, B, B],n=2
0 / 15
tasks0A1A2A3B4B5B
algomaster.io
Step:Start: Find minimum intervals to execute all tasks with cooldown n