1. Which of the following is true for binary search algorithm?
(A) Can be used on unsorted data
(B) Time complexity is O(n)
(C) Data must be sorted
(D) Always returns the first occurrence
(E) Requires linear time
答案:登入後查看
統計: A(0), B(0), C(2), D(0), E(0) #3830612
統計: A(0), B(0), C(2), D(0), E(0) #3830612