What is the goal of Task Scheduler?
Practice this question from Task Scheduler - Greedy Max-Heap Pattern Practice Quiz, with options and an explanation.
Question
What is the goal of Task Scheduler?
Option A — Correct answer
Return the least intervals needed with cooldown.
Option B
Sort characters in a string only
Option C
Run DFS on a binary tree only
Option D
Reverse an array with two pointers only
Explanation
Return the least intervals needed with cooldown.