first-bad-version-log-n-api-calls

Status: IN

`first_bad_version` makes at most `ceil(log2(n))` calls to `isBadVersion`, the minimum possible for a comparison-based search.

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

JSON