What should the dry run track?

Practice this question from Sort Colors - Dutch National Flag Pattern Practice Quiz, with options and an explanation.

Question

What should the dry run track?

Option A — Correct answer

Track low, mid, high, and the current zones.

Option B

Only the final answer, not boundaries or swaps

Option C

The alphabetical order of variable names

Option D

Only whether values are negative

Explanation

Track low, mid, high, and the current zones.

Sort Colors - Dutch National Flag Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker