GATE CS 2026 · Set-1 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0069

Consider the following recurrence relations: For all \(n>1\),\[\begin{array}{l} T_{1}(n)=4 T_{1}\left(\frac{n}{2}\right)+T_{2}(n) \\ T_{2}(n)=5 T_{2}\left(\frac{n}{4}\right)+\Theta\left(\log _{2} n\right) \end{array}\]Assume that for all \(n \leq 1, T_{1}(n)=1\) and \(T_{2}(n)=1\). Which one of the following options is correct?
  1. A
    \(T_{1}(n)=\Theta\left(n^{2}\right)\)
  2. B
    \(T_{1}(n)=\Theta\left(n^{2} \log _{2} n\right)\)
  3. C
    \(T_{1}(n)=\Theta\left(n^{\log _{4} 5}\right)\)
  4. D
    \(T_{1}(n)=\Theta\left(n^{\log _{4} 5} \log _{2} n\right)\)

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/523073/gate-cse-2026-set-1-question-7

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com