Given a sorted array of distinct integers that has been rotated at some unknown pivot, return the index of target if present, else -1. Must run in O(log n).
target
Example: nums = [4,5,6,7,0,1,2], target = 0 → 4.
nums = [4,5,6,7,0,1,2]
target = 0
4