...
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.

Leave a Reply

Your email address will not be published. Required fields are marked *