...
/DIY: Search in Rotated Sorted Array
DIY: Search in Rotated Sorted Array
Solve the interview question "Search in Rotated Sorted Array" yourself in this lesson.
We'll cover the following...
Problem statement
Search for a given number in a sorted array of unique elements that have been rotated an arbitrary number. Assume that an array is rotated at some point unknown to you beforehand (For example, ...