What should the dry run track?
Practice this question from Prime Check - Square Root Trial Division Pattern Practice Quiz, with options and an explanation.
Question
What should the dry run track?
Option A — Correct answer
Track current divisor and whether i * i is still within n.
Option B
Only the final answer with no variable state
Option C
The UI order of lesson cards
Option D
Only whether the input is already sorted
Explanation
Track current divisor and whether i * i is still within n.