Back to the 2019 paper

Module 2: Divide and Conquer Paradigm and Heaps

20192m

The complexity of binary search algorithm is:

  • (i) O(n)O(n)
  • (ii) O(logn)O(\log n)
  • (iii) O(n2)O(n^2)
  • (iv) O(nlogn)O(n \log n)

Similar questions