search in rotated array Python accepted

Brute force & Binary search