Thursday 28 May 2015

Q35,paper 2,J13. Give as good a big–O estimate as possible for the following functions :



(nlogn+n2)(n3+2) and (n!+2n) (n3+log(n2+1))

(A) O(n5+2n2) & O(n3*n!)
(B) O(n5) & O(n3*2n)
(C) O(n5) & O(n3* n!)
(D) O(n5+2n2) & O(n3*2n)
Answer C.

No comments:

Post a Comment

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