Times Internet interview question

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