For the following, decide whether T(n) = θ(f(n)), T(n) = Ω(f(n)), T(n) = O(f(n)), or none of the above. Show your work. (a) T(n) = n3 +200n+500, f(n) = 1000n2 +500nlogn (b) T(n) = (2n+a)b, f(n) = (3n+b)b (c) T(n) = 2logn, f(n) = n2 (d) T(n) = n4/3, f(n) = n(logn)3
For the following, decide whether T(n) = θ(f(n)), T(n) = Ω(f(n)), T(n) = O(f(n)), or none of the above. Show your work. (a) T(n) = n3 +200n+500, f(n) = 1000n2 +500nlogn (b) T(n) = (2n+a)b, f(n) = (3n+b)b (c) T(n) = 2logn, f(n) = n2 (d) T(n) = n4/3, f(n) = n(logn)3
Related questions
Question
For the following, decide whether T(n) = θ(f(n)), T(n) = Ω(f(n)), T(n) = O(f(n)), or none
of the above. Show your work.
(a) T(n) = n3 +200n+500, f(n) = 1000n2 +500nlogn
(b) T(n) = (2n+a)b, f(n) = (3n+b)b
(c) T(n) = 2logn, f(n) = n2
(d) T(n) = n4/3, f(n) = n(logn)3
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps