Nokia interview question

pivot in sorted rotated array