title: Finding the position of x in an array of unknown length
body: <p>Given an infinite array (unknown array length) and there are n elements of integer sorted in this infinite array. The n (the number of sorted element) is unknown. Find the position of an integer i in this infinite array in log n time.</p>