Monday, 15 June 2015

Q24,Paper2,j14. Big-O estimates for the factorial function and the logarithm of the factorial function i.e. n! and log n! is given by



(A) O(n!) and O(n log n)
(B) O(nn) and O(n log n)
(C) O(n!) and O(log n!)
(D) O(nn) and O(log n!)
Answer B

No comments:

Post a Comment

Note: only a member of this blog may post a comment.