What should the dry run track?
Practice this question from Climbing Stairs - Fibonacci DP Pattern Practice Quiz, with options and an explanation.
Question
What should the dry run track?
Option A — Correct answer
Track one, two, current, and the current step.
Option B
Only the final answer, not the state transition
Option C
The alphabetical order of variable names
Option D
Only whether input contains duplicates
Explanation
Track one, two, current, and the current step.