Find the appropriate "order" relationship between n log(n) and 10n and find the constants c and N.
(i.e. f(n) < O(g(n)), etc.)
If N >= 2^10,
then, taking log on base 2 both sides:
log(n) >= log(2^10)
which can be written as:
log(n) >= 10
Multiplying by n on both sides:
n Log(n) >= 10n
Or
10n <= n log(n)
Hence We can say, 10n = O(nLogN)
Hence, N = 2^10, and c = 1
************************************************** Thanks for your question. We try our best to help you with detailed answers, But in any case, if you need any modification or have a query/issue with respect to above answer, Please ask that in the comment section. We will surely try to address your query ASAP and resolve the issue.
Please consider providing a thumbs up to this question if it helps you. by Doing that, You will help other students, who are facing similar issue.
Get Answers For Free
Most questions answered within 1 hours.