Question d’entretien chez Times Internet

Find minimum element in a rotated array. Program for x power n. One puzzle