NAT2 marks
Let be an array of 31 numbers consisting of a sequence of 0's followed by a sequence of 1's. The problem is to find the smallest index such that is 1 by probing the minimum number of locations in . The *worst case* number of probes performed by an *optimal* algorithm is ________.
Numerical answer
Answer key coming soon