This technical problem involves finding the index of a target value in a sorted array. If the target value is not present in the array, the function should return -1.
A.I. Evaluation of the Solution
The candidate's solution is correct and demonstrates a level of completeness. The candidate has correctly identified binary search as the optimal solution for this problem and has implemented it correctly. The candidate's approach is clear and easy to follow.