Suppose the binary search algorithm is used to find the value 24 in the array below.
| 10 | 15 | 17 | 24 | 35 | 36 | 41 | 45 | 48 | 57 | 65 | 68 | 70 | 74 | 80 | 83 | 90 |
What will be the value of the variablelastwhen the binary search algorithm completes?
a. 16
b. 8
c. 5
d. 7
e. 6
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here