Question DSA-CX-0070
HardWhat does T(n) = T(√n) + 1 solve to?
- A.
Θ(1)
- B.
Θ(log n)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Complexity Analysis question
What does T(n) = T(√n) + 1 solve to?
Θ(1)
Θ(log n)
Sign up free to see the answer and a step-by-step explanation.
Θ(√n)
Θ(log log n)