30:00
Given the array nums after the possible rotation and an integer target, return the index of target if it is in nums, or -1 if it is not in nums.
1≤nums.length≤50001 \leq \text{nums.length} \leq 50001≤nums.length≤5000
−104≤nums[i]≤104-10^4 \leq \text{nums}[i] \leq 10^4−104≤nums[i]≤104
All values of nums are unique.
nums
nums is an ascending array that is possibly rotated.
−104≤target≤104-10^4 \leq \text{target} \leq 10^4−104≤target≤104
4
5
6
7
0
1
2