Coach note
Coding questions test whether you can carry a problem from a vague spec to a working solution while talking through your decisions. Interviewers watch the process at least as much as the answer.
Coding · Algorithms
Write a function that takes a sorted array rotated at an unknown pivot and a target value, then returns the index of the target in O(log n) time. If the target doesn't exist, return -1.
Type your answer
0of ~130 wordsAbout a minute spoken
Voice isn’t supported in this browser — type your answer in the box.
Create a free account to get more critiques.
Your answer appears here as you speak.