Time Complexity
Question 1 |
Let T(n) be the function defined by T(1)= 1, T(n)= 2T(⌊n/2⌋) + √n for n≥2. Which of the following statement(s) is true?
T(n) = O(√n) | |
T(n) = O(n) | |
T(n) = O(log n) | |
None of the above |
Question 1 Explanation:
Apply Master's theorem.
There is 1 question to complete.
