An element in a sorted array can be found in time by using binary search. Now assume you are given a sorted array of integers that has been rotated many times. Is it possible to find an element in the array in time?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!