@@ -0,0 +1,530 @@
+# Time:  O(logn)%0A# Space: O(1)%0A%0Aclass Solution(object):%0A    def search(self, reader, target):%0A        %22%22%22%0A        :type reader: ArrayReader%0A        :type target: int%0A        :rtype: int%0A        %22%22%22%0A        left, right = 0, 19999%0A        while left %3C= right:%0A            mid = left + (right-left)//2%0A            response = reader.get(mid)%0A            if response %3E target:%0A                right = mid-1%0A            elif response %3C target:%0A                left = mid+1%0A            else:%0A                return mid%0A        return -1%0A

Create search-in-a-sorted-array-of-unknown-size.py