Question: 2. [4 pts] Given the following two functions, circle all answers that applies. 2.1) f1(n)=n3log2nf2(n)=3nlog8n A: f1(n)=O(f2(n)) B: f1(n)=(f2(n)) C: f1(n)=(f2(n)) 2.2) f1(n)=log2nf2(n)=3log8n A: f1(n)=O(f2(n))
2. [4 pts] Given the following two functions, circle all answers that applies. 2.1) f1(n)=n3log2nf2(n)=3nlog8n A: f1(n)=O(f2(n)) B: f1(n)=(f2(n)) C: f1(n)=(f2(n)) 2.2) f1(n)=log2nf2(n)=3log8n A: f1(n)=O(f2(n)) B: f1(n)=(f2(n)) C: f1(n)=(f2(n)) 2.3) f1(n)=nkf2(n)=cn(k1 and c>1) A: f1(n)=O(f2(n)) B: f1(n)=(f2(n)) C: f1(n)=(f2(n)) 2.4) f1(n)=n+5n0.5f2(n)=3n2+5n+1 A: f1(n)=O(f2(n)) B: f1(n)=(f2(n)) C: f1(n)=(f2(n))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
