Pergunta de entrevista da empresa Evi Technologies

Given a sorted rotated array find the smallest element.