結果 : write binary search algorithm and analyze its time complexity