Pergunta de entrevista da empresa Works Applications

Given a sorted array ,then rotated it at some point. Now you have to find the smallest element in the array.