Data Structures

1: The time complexity of an algorithm T(n), where n is the input size, is given by T( n) = T( n - 1) + 1/n  if n > 1 The order of this algorithm is  
A.

log n

B.

n

C.

n2

D.

nn

 

Answer : A

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.