PA of Algorithms Q44

  • Option : C
  • Explanation :
    T(n) = 2T(n/2) + √n
    Apply master’s method
    nlog22 ⇒ n > √n
    So T(n) = Θ(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 *