Given an integer array nums sorted in ascending order with distinct values, which has been rotated at an unknown pivot index, and a target integer, return the index of target if it is in nums, or -1…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.