GATE CS 2026, set 1 · Question 17 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Consider the following recurrence relations:
For all n > 1,
T₁(n) = 4T₁(n/2) + T₂(n)T₂(n) = 5T₂(n/4) + Θ(log₂ n)
Assume that for all n ≤ 1, T₁(n) = 1 and T₂(n) = 1.
Which one of the following options is correct?

  1. (A) T₁(n) = Θ(n²)
  2. (B) T₁(n) = Θ(n² log₂ n)
  3. (C) T₁(n) = Θ(n^(log₄ 5))
  4. (D) T₁(n) = Θ(n^(log₄ 5) log₂ n)
Answer

Answer (A)

Answer from the official GATE CS 2026 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes