What should the dry run track?

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

Question

What should the dry run track?

Option A — Correct answer

Track heap counts, used counts, slots, and time.

Option B

Only the final answer, not heap state

Option C

The alphabetical order of variables

Option D

Only whether values are negative

Explanation

Track heap counts, used counts, slots, and time.

Task Scheduler - Greedy Max-Heap Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker