Let be the recurrence relation defined as follows:
Which one of the following statements is TRUE?
GATE CSE 2024Algorithms › Growth of Functions & Complexity AnalysisVerified
(A) T ( n ) = Θ ( 2 n ) T(n)=\Theta\left(2^{n}\right) T ( n ) = Θ ( 2 n )
Solve the linear homogeneous recurrence using the characteristic equation, then apply initial conditions to find the exact closed form.
The recurrence has characteristic roots 2 and 3. Initial conditions force the coefficient of $3^n$ to be zero, leaving $T(n)=2^n$. Hence $T(n)=\Theta(2^n)$.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.