Computer Science And Engineering

Computer Science And EngineeringAlgorithmsMultiple Choice (MCQ)1 Mark
Q3.

Consider the following recurrence relation:

T(n)=2T(n1)+n2nT(n) = 2T(n - 1) + n2^n for n>0n > 0, T(0)=1\quad T(0) = 1.

Which ONE of the following options is CORRECT?

A
T(n)=Θ(n22n)T(n) = \Theta(n^22^n)
B
T(n)=Θ(n2n)T(n) = \Theta(n2^n)
C
T(n)=Θ((logn)22n)T(n) = \Theta((\log n)^2 2^n)
D
T(n)=Θ(4n)T(n) = \Theta(4^n)