you are a hacker, trying to gain information on a secret array of size n. this array contains n − 1 ones and exactly 1 two; you want to determine the index of the two in the array.