The iterative algorithm is faster than the recursive algorithm, which requires index to the section of array to search. Algorithm BinarySearch(A[0...n-1], K). l ...
確定! 回上一頁