Data Structures

1: There are 4 different algorithms AI, A2, A3, A4 to ·solve a given problem with the order Iog(n), log(log(n)), nIog(n) ,n / log(n) respectively. Which is the best algorithm?  
A.

A1

B.

A2

C.

A4

D.

A3

 

Answer : B

Explanation :

Mayank said: (10:47pm on Friday 8th March 2013)
According to me, The correct answer is: B (A2), because it gives the least value while calculating the log(log(n)) for any value of n.please justify me the reason for selecting the answer as C (A4).

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.