Give the Big-O notation that best describes the following functions. (By best, I
ID: 3765370 • Letter: G
Question
Give the Big-O notation that best describes the following functions. (By best, I mean
simplest and lowest bound using Big-O notation, for n large.)
(a) 2n + 31
(b) 3n + (6n log2 n)
(c) (2/n^2) + 2
(d) 3n62 + 2n^2 + n
(e) 13 + 24n^3 + 17n^2 + 22n log2 n
You do not need to provide the constants n0 or c that are part of the formal de nition
of Big-O.
Explanation / Answer
a. O(n)
b. O(nlogn)
c. O(n2)
d. O(n2)
e. O(n3)
If you have any further queries, just get back to me.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.