Skip to main content

Practice · 2 of 3

The Shrinking Discipline

CHALLENGE
Difficulty: advanced+25 XP

**Scenario.** A 200-element random test fails. Your first shrink step should be: **Which approach is the best fit? The program only needs to print the letter.** **A)** Rerun with the same input twice to check determinism **B)** Delete one element and re-test — keep every deletion that preserves the failure **C)** Print the entire input and read it **D)** Double n to see if it still fails

Back to lesson: Practice: Adversarial Drills