PA of Algorithms Q76

  • Option : A
  • Explanation :
    T (n) = T (n/2) + n
    Apply masters method
    nlog21 ⇒ n0
    1 < n
    T(n) = O(n)
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *