結果 : binary search algorithm time and space complexity