結果 : calculate the average time complexity of binary search algorithm