結果 : write an algorithm for binary search with example