結果 : write an algorithm for binary search discuss with an example