Given a sorted array of integers and a target value, this function will return the index of the target value if found, or -1 if not found.
The candidate's solution is complete and solves the problem. The candidate has used binary search, which is the most efficient way to search a sorted array for a target value.
Evaluated at: 2022-11-05 01:19:43