InterviewSolution
Saved Bookmarks
| 1. |
The big-theta notation for f(n) = nlog(n^2 + 1) + n^2logn is?(a) n^2logn(b) n^2(c) logn(d) nlog(n^2)The question was asked in class test.Question is from The Growth of Functions in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics |
|
Answer» CORRECT answer is (a) n^2logn Easy explanation: n^2logn < n^3, it FOLLOWS that nlog(n^2 + 1) + n^2logn is LESS than n^3 and GREATER thann^2logn. |
|