Given a sorted array of integers, this function returns the index of a given target value. If the target value is not present in the array, it returns -1.
This solution is correct and demonstrates a good understanding of time complexity.
Evaluated at: 2022-11-10 02:15:47