Skip to main content

Practice ยท 3 of 3

Minimal Reproducer

CHALLENGE
Difficulty: intermediate+25 XP

Write minimalInput(inputs, isBroken) โ€” inputs is an ordered array; isBroken(value) returns true when that input alone triggers the bug. Return the FIRST breaking input (null if none). This is step 1 of the debugging loop made mechanical.

Back to lesson: Practice: Diagnose From Evidence โ€” Practice