What should the dry run track?
Practice this question from Longest Increasing Subsequence - Binary Search DP Pattern Practice Quiz, with options and an explanation.
Question
What should the dry run track?
Option A — Correct answer
Track tails after each number is processed.
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 tails after each number is processed.