COMPUTER SCIENCE MCQS
Let A be an array of 31 numbers consisting of a sequence of 0's followed by a sequence of 1's. The program is to find the smallest index i such that A[i] is 1 by probing the minimum number of locations in A.[G17S1Q48]
Explanation