Skip to main content

Practice · 2 of 5

Write the probes

CHALLENGE
Difficulty: intermediate+25 XP

minIndex is correct. Your job: the tests must PROVE the contract — including the all-equal tie probe and the single-element probe. The provided test is the happy path; add the missing probe tests (the checker verifies that your test set still passes with the reference and that you did not delete tests).

Back to lesson: Practice: Mixed clinic