Pregunta de entrevista de Creospan

Find the index of smallest integer in a rotated array?