@@ -0,0 +1,460 @@
+/* The isBadVersion API is defined in the parent class VersionControl.%0A      boolean isBadVersion(int version); */%0A%0Apublic class Solution extends VersionControl %7B%0A    public int firstBadVersion(int n) %7B%0A        int l = 1, r = n;%0A        while (l %3C= r) %7B%0A            int m = l + (r - l) / 2;%0A            if (isBadVersion(m)) %7B%0A                r = m - 1;%0A            %7D else %7B%0A                l = m + 1;%0A            %7D%0A        %7D%0A        %0A        return l;%0A    %7D%0A%7D%0A

Create FirstBadVersion_001.java