Problem
Return the index of target in a sorted array using recursive binary search, or -1 if absent.
Examples
binarySearch([1, 3, 5, 7], 5) -> 2binarySearch([1, 3, 5, 7], 4) -> -1
Return the index of target in a sorted array using recursive binary search, or -1 if absent.
binarySearch([1, 3, 5, 7], 5) -> 2binarySearch([1, 3, 5, 7], 4) -> -1