Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. (10 pts) Write true or false to each of the following statements. (a) If f(n) = n2 + 8, then f(n) E O(n). a.
4. (10 pts) Write true or false to each of the following statements. (a) If f(n) = n2 + 8, then f(n) E O(n). a. true (b) If f(n) = 12 , then f(n) (n log n). b. false (C) If f(n) O(n) and g(n) E O(n), then f(n) + g(n) O(n). c. true (d) If f(n) = O(n), then na x f(n) E O(n^). d. true (e) If f(n) O(n) and g(n) O(n), then f(n) x g(n) O(n^). e. true (f) If f(n) (n log n), then f(n) xn (n log n). f. false??? (g) If f(n) 0(n) and g(n) O(n), then limno (n) (1). g. true??? (h) If f(n) O(n?) and g(n) 52(n), then limn + C E O(1). (i) If f(n) O(na) and g(n) O(n2), then limn+ f(n) 0(1). 6) f(n) + g(n) (max f(n), g(n))
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started