Interview Questions

Find first shifted number.

Sorted array has been shifted. For example 4, 5, 7, 9, 1, 2. Find position of the first number in the shifted section of the array (in this case 1).

View Solution
comments powered by Disqus