Question: Let n be a positive integer and f(n) = 2log(n!) + (n + 1)logn. Then f(n) is O(logn) O(n) O None of them O((n^2)logn)
Let n be a positive integer and f(n) = 2log(n!) + (n + 1)logn. Then f(n) is O(logn) O(n) O None of them O((n^2)logn)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
