結果 : log n time complexity search algorithm