Let T(n) be a function defined by the recurrence T(n) = 2T(n/2) + √n for n ≥ 2…

GATE · 2005 · IT

Let T(n) be a function defined by the recurrence T(n) = 2T(n/2) + √n for n ≥ 2 and T(1) = 1 Which of the following statements is TRUE?  

  1. A.

    T(n) = θ(log n)

  2. B.

    T(n) = θ(√n)

  3. C.

    T(n) = θ(n)

  4. D.

    T(n) = θ(n log n)

Attempted by 321 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…