278. First Bad Version
Leetcode
題目
Input: n = 5, bad = 4
Output: 4
Explanation:
call isBadVersion(3) -> false
call isBadVersion(5) -> true
call isBadVersion(4) -> true
Then 4 is the first bad version.Input: n = 1, bad = 1
Output: 1è§£ç”
測資
Last updated