Complexity of the function f(n)= nlogn+logn+1 - O(nlogn)

Q.  What is the complexity of the function f(n)= nlogn+logn+1
- Published on 17 Jun 15

a. O(logn)
b. O(nlogn)
c. O(n)
d. None of the above.

ANSWER: O(nlogn)

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)