update find-minmum-in-rotated-array