GATE CS 2020 · Question 12 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

For parameters a and b, both of which are ω(1), T(n) = T(n^(1/a)) + 1, and T(b) = 1.
Then T(n) is

  1. (A) Θ(logₐ log_b n)
  2. (B) Θ(log_(ab) n)
  3. (C) Θ(log_b logₐ n)
  4. (D) Θ(log₂ log₂ n)
Answer

Answer (A)

Answer from the official GATE CS 2020 answer key.

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