What should the dry run track?
Practice this question from Single Number III - Rightmost Set Bit Pattern Practice Quiz, with options and an explanation.
Question
What should the dry run track?
Option A — Correct answer
Track xorAll, mask, and the two XOR groups.
Option B
Only the final answer, not the bit state
Option C
The alphabetical order of variable names
Option D
Only whether input is sorted
Explanation
Track xorAll, mask, and the two XOR groups.