Skip to main content

Practice ยท 3 of 3

Minimal Reproducer

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.

Difficulty: intermediate

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