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
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!)