...
Number-Systems
November 12, 2024
UGC NET CS 2008-june-Paper-2
November 13, 2024
Number-Systems
November 12, 2024
UGC NET CS 2008-june-Paper-2
November 13, 2024

Algorithms

Question 39

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?

A
T(n) = O(√n)
B
T(n) = O(n)
C
T(n) = O(log n)
D
None of the above
Question 39 Explanation: 
Apply Master’s theorem.
Correct Answer: B
Question 39 Explanation: 
Apply Master’s theorem.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!