LeetCode
Search in a Sorted Array of Unknown Size
Click
here
for an explanation.