The "Binary Search" code problem asks the user to write a function that takes a sorted array of integers and a target value as input, and returns the index of the target value if it is present in the array. If the target value is not present in the array, the function should return -1.
The candidate's solution correctly implements a binary search algorithm to find the index of a given target value in a sorted array. The solution is complete and correctly handles the case where the target value is not present in the array.
Evaluated at: 2022-11-25 06:16:15