Why is the brute-force approach less ideal here?

Practice this question from Task Scheduler - Greedy Max-Heap Pattern Practice Quiz, with options and an explanation.

Question

Why is the brute-force approach less ideal here?

Option A — Correct answer

Trying every task order is too large.

Option B

It always uses constant time

Option C

It avoids all comparisons

Option D

It requires no extra state

Explanation

Trying every task order is too large.

Task Scheduler - Greedy Max-Heap Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker