Goldman Sachs interview question

Write a program to find smallest number in a rotated sorted array.

Interview Answer

Anonymous

Jun 19, 2020

Check if array[i] > array[i++] , loop till end