結果 : best algorithm for almost sorted array