Coviam interview question

Search element in a sorted rotated array.