Answer to Question #35690 in Other Programming & Computer Science for gideon
2. Write an algorithm called locate (with running time log n, that accept a set of integer numbers and another single number and finds out whether the number is found in the set of integers. If it exist, it should print its index in the list otherwise should print negative one (-1).
No comments. Be first!