Available question text
Given n versions and an API isBadVersion(version) where once a version is bad all subsequent versions are also bad (monotonic), find the smallest bad version while minimizing API calls — solvable with binary search over [1..n] (watch for large n/overflow).
Related questions
Continue with questions that share topics or the same question type.
- Find the First Working Version
Coding
- Bad Word Checker
Coding
- Compare Version Numbers
Coding
- Count Number of Bad Pairs
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 278. First Bad Version
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source