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
- (A) Θ(logₐ log_b n)
- (B) Θ(log_(ab) n)
- (C) Θ(log_b logₐ n)
- (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