Time complexity for the recursive relation T(n) = 2T(√n) + 1 is:
2025
Time complexity for the recursive relation T(n) = 2T(√n) + 1 is:
Answer: D. θ (log n)
- A.
θ (n log n)
- B.
θ (n)
- C.
θ (n2)
- D.
θ (log n)
Attempted by 188 students.
Show answer & explanation
Correct answer: D
Loading lesson…