first-bad-version-assumes-monotonic-input

Status: IN

The solution produces correct results only if the predicate is monotonic (all good versions precede all bad versions); non-monotonic input causes undefined behavior, not an error.

Source: entries/2026/06/06/first-bad-version-solution.md

JSON