What should the dry run track?

Practice this question from Subsets - Pick or Skip Recursion Pattern Practice Quiz, with options and an explanation.

Question

What should the dry run track?

Option A — Correct answer

Track index, path contents, and base-case copies.

Option B

Only the final answer, not the recursion state

Option C

The alphabetical order of variables

Option D

Only whether values are positive

Explanation

Track index, path contents, and base-case copies.

Subsets - Pick or Skip Recursion Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker