Problem 278 · Easy
Binary search the smallest bad version: if mid is bad, search left; otherwise search right.
Open the interactive visualisation