Categorise checks for Two Stock Arrays with Switching Cost.
Practice this question from Quiz: Two Stock Arrays with Switching Cost, with options and an explanation.
Question
Categorise checks for Two Stock Arrays with Switching Cost.
Option A
State/invariant
Option B
Complexity
Option C
Only sample case
Explanation
Strong answers explain state, complexity, and more than the sample.