Question: Exercise 1[6 marks] a) Prove that running time T(n)=n+30n+1 is O(n) [1 mark] b) Prove that running time T(n)=(n+30)(n+5) is O(n) [1 mark] c) Count
![Exercise 1[6 marks] a) Prove that running time T(n)=n+30n+1 is O(n)](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2f47982fca_32966f2f47955990.jpg)
Exercise 1[6 marks] a) Prove that running time T(n)=n+30n+1 is O(n) [1 mark] b) Prove that running time T(n)=(n+30)(n+5) is O(n) [1 mark] c) Count the number of primitive operation of algorithm uniquel on page 174 of textbook, give a big-Oh of this algorithm and prove it. [2 mark] d) Order the following function by asymptotic growth rate [2 mark] a. 4nlogn+2n b. 3n+100logn c. n+10n d. n3 e. nlogn
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
